[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/squeekboard][debian/master] 2 commits: d/rules: fix an FTBFS on mips64el with GOT > 64kb

Guido Günther gitlab at salsa.debian.org
Tue Nov 10 17:49:11 GMT 2020



Guido Günther pushed to branch debian/master at Debian On Mobile / squeekboard


Commits:
622c4c3b by Henry-Nicolas Tourneur at 2020-11-10T14:45:13+00:00
d/rules: fix an FTBFS on mips64el with GOT > 64kb

- - - - -
b488883b by Henry-Nicolas Tourneur at 2020-11-10T14:57:09+00:00
d/rules: export RUSTFLAGS only on architecture that needs it

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+squeekboard (1.10.0-2) UNRELEASED; urgency=medium
+
+  [ Arnaud Ferraris ]
+  * d/rules: set RUSTFLAGS to avoid an FTBFS on mips64el (Closes: #974036)
+
+ -- Henry-Nicolas Tourneur <debian at nilux.be>  Tue, 10 Nov 2020 14:44:33 +0000
+
 squeekboard (1.10.0-1) unstable; urgency=medium
 
   * New upstream release 1.10.0


=====================================
debian/rules
=====================================
@@ -2,6 +2,11 @@
 
 export CARGO_HOME = $(CURDIR)/debian/cargo
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+# the below avoids an FTBFS on mips64el with a GOT > 64kb
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(DEB_HOST_ARCH),mips64el)
+ export RUSTFLAGS = -Ctarget-feature=+xgot
+endif
 
 %:
 	dh $@ --builddirectory=_build --buildsystem=meson



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/squeekboard/-/compare/d89ba42f27b95cbf369515a78e54c2c76e51dd75...b488883bc2b2916de2e3c89763303d47a50508f7

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/squeekboard/-/compare/d89ba42f27b95cbf369515a78e54c2c76e51dd75...b488883bc2b2916de2e3c89763303d47a50508f7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20201110/395cc643/attachment.html>


More information about the Debian-on-mobile-maintainers mailing list