[alglib] 01/03: d/rules: add -ffloat-store for i386, Closes: #877065

Gert Wollny gewo at moszumanska.debian.org
Tue Oct 10 09:35:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

gewo pushed a commit to branch master
in repository alglib.

commit 6148f06ce0779dcfd40c3840c94064953068cf3c
Author: Gert Wollny <gewo at debian.org>
Date:   Sun Oct 8 09:20:56 2017 +0000

    d/rules: add -ffloat-store for i386, Closes: #877065
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 07c364b..3cbc01d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,13 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ 
+ifneq (,$(findstring $(DEB_HOST_ARCH), i386))
+    export DEB_CFLAGS_MAINT_APPEND = -ffloat-store
+    export DEB_CXXFLAGS_MAINT_APPEND = -ffloat-store
+endif
+
 %:
 	dh $@
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/alglib.git



More information about the debian-science-commits mailing list