[SCM] sonic-visualiser/master: Enable "-ffloat-store" additionally for s390x
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Fri Jan 5 19:25:06 UTC 2018
The following commit has been merged in the master branch:
commit 18f45aaab6bd39f3ea9ae5c153bf13b89c3aaec3
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date: Sat Oct 14 20:07:28 2017 +0200
Enable "-ffloat-store" additionally for s390x
diff --git a/debian/rules b/debian/rules
index 179f2be..72eb8c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_CXXFLAGS_MAINT_APPEND=
DEB_LDFLAGS_MAINT_APPEND=
-ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+
+ffloat_store_archs := i386 s390x
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH), $(ffloat_store_archs)))
DEB_CXXFLAGS_MAINT_APPEND+=-ffloat-store
endif
+
DEB_LDFLAGS_MAINT_APPEND+= -Wl,--as-needed
export DEB_CXXFLAGS_MAINT_APPEND
--
sonic-visualiser packaging
More information about the pkg-multimedia-commits
mailing list