diff --git a/debian/rules b/debian/rules index 8e5b6bd6..05c1d544 100755 --- a/debian/rules +++ b/debian/rules @@ -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))