Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
squeekboard
Commits
540c4d9c
Commit
540c4d9c
authored
Nov 10, 2020
by
Henry-Nicolas Tourneur
Committed by
Dorota Czaplejewicz
Nov 23, 2020
Browse files
d/rules: export RUSTFLAGS only on architecture that needs it
parent
42483234
Pipeline
#61403
passed with stages
in 43 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debian/rules
View file @
540c4d9c
...
...
@@ -3,7 +3,10 @@
export CARGO_HOME = $(CURDIR)/debian/cargo
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# the below avoids an FTBFS on mips64el with a GOT > 64kb
export RUSTFLAGS = -Ctarget-feature=+xgot
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(DEB_HOST_ARCH),mips64el)
export RUSTFLAGS = -Ctarget-feature=+xgot
endif
distrel := $(shell lsb_release --codename --short)
ifneq (,$(filter $(distrel),buster amber))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment