d/rules: fix an FTBFS on mips64el with GOT > 64kb

This commit is contained in:
Henry-Nicolas Tourneur
2020-11-10 14:45:13 +00:00
committed by Dorota Czaplejewicz
parent c9f9a3b577
commit 42483234e3

2
debian/rules vendored
View File

@ -2,6 +2,8 @@
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
distrel := $(shell lsb_release --codename --short)
ifneq (,$(filter $(distrel),buster amber))