[Debian-med-packaging] Bug#865012: Fix for the htslib i386 FTBFS
Adrian Bunk
bunk at debian.org
Mon Jul 17 14:43:39 UTC 2017
Control: tags -1 patch
htslib is not following the aliasing rules as defined in the C standard,
and telling gcc not to optimize based on the strict aliasing rules fixes
this FTBFS.
cu
Adrian
--- debian/rules.old 2017-07-17 14:26:18.000000000 +0000
+++ debian/rules 2017-07-17 14:27:01.000000000 +0000
@@ -3,6 +3,9 @@
# export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Build fails due to -fpie
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+# see #865012
+export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing
+
export DH_VERBOSE=1
DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
More information about the Debian-med-packaging
mailing list