d/rules: fix an FTBFS on mips64el with GOT > 64kb
This commit is contained in:
committed by
Dorota Czaplejewicz
parent
c9f9a3b577
commit
42483234e3
2
debian/rules
vendored
2
debian/rules
vendored
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
export CARGO_HOME = $(CURDIR)/debian/cargo
|
export CARGO_HOME = $(CURDIR)/debian/cargo
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
# the below avoids an FTBFS on mips64el with a GOT > 64kb
|
||||||
|
export RUSTFLAGS = -Ctarget-feature=+xgot
|
||||||
|
|
||||||
distrel := $(shell lsb_release --codename --short)
|
distrel := $(shell lsb_release --codename --short)
|
||||||
ifneq (,$(filter $(distrel),buster amber))
|
ifneq (,$(filter $(distrel),buster amber))
|
||||||
|
|||||||
Reference in New Issue
Block a user