[med-svn] [Git][med-team/mash][master] set -DARCH_32 on our 32-bit architectures, as apparently intended by the code; ...

Andreas Tille gitlab at salsa.debian.org
Wed Feb 6 12:08:15 GMT 2019


Andreas Tille pushed to branch master at Debian Med / mash


Commits:
42bf5484 by Andreas Tille at 2019-02-06T12:07:58Z
set -DARCH_32 on our 32-bit architectures, as apparently intended by the code; without this, the armhf binaries will SIGBUS whenever running on a system that disallows unaligned access.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+mash (2.1+dfsg-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+
+  [ Steve Langasek ]
+  * debian/rules: set -DARCH_32 on our 32-bit architectures, as apparently
+    intended by the code; without this, the armhf binaries will SIGBUS
+    whenever running on a system that disallows unaligned access.
+    Closes: #919778
+
+ -- Andreas Tille <tille at debian.org>  Wed, 06 Feb 2019 13:06:17 +0100
+
 mash (2.1+dfsg-1) UNRELEASED; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -3,6 +3,11 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifneq (,filter(armhf i386,$(DEB_HOST_ARCH)))
+   DEB_CPPFLAGS_MAINT_APPEND = -DARCH_32
+endif
+export DEB_CPPFLAGS_MAINT_APPEND
 
 %:
 	dh $@  --with autoreconf,sphinxdoc



View it on GitLab: https://salsa.debian.org/med-team/mash/commit/42bf5484376d9b3e5ae4271f7d0e998ae0daac34

-- 
View it on GitLab: https://salsa.debian.org/med-team/mash/commit/42bf5484376d9b3e5ae4271f7d0e998ae0daac34
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-med-commit/attachments/20190206/0cf534b0/attachment.html>


More information about the debian-med-commit mailing list