[med-svn] [praat] 01/02: d/rules: Add -ffloat-store compiler option when building on i386
Rafael Laboissiere
rafael at debian.org
Tue Oct 24 16:32:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository praat.
commit 1bea88f72e9f3a976a33f59e8a5bd7db052b5104
Author: Rafael Laboissiere <rafael at debian.org>
Date: Tue Oct 24 03:50:22 2017 -0200
d/rules: Add -ffloat-store compiler option when building on i386
this will hopefully fix the building failures on that architecture. e.g.
https://buildd.debian.org/status/fetch.php?pkg=praat&arch=i386&ver=6.0.35-2&stamp=1508688751&raw=0
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index fa2714d..b219235 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,12 @@ SUBSTCMD = sed 's:@BINDIR@:$(BINDIR):g;s:@PIXDIR@:$(PIXDIR):g; \
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+ export DEB_CXXFLAGS_MAINT_APPEND=-ffloat-store
+endif
+
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git
More information about the debian-med-commit
mailing list