[SCM] iannix/master: Force MUP_BASETYPE to (float) on arm* archs
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Mon Jun 5 20:59:51 UTC 2017
The following commit has been merged in the master branch:
commit b865426dec66cc30ec84df3ca69b7aa15669774a
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date: Mon Jun 5 22:43:08 2017 +0200
Force MUP_BASETYPE to (float) on arm* archs
diff --git a/debian/rules b/debian/rules
index 8cddc66..9940191 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,12 +3,19 @@
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
-
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
+EXTRA_CPPFLAGS=
+ifneq (,$(findstring armel,$(DEB_TARGET_ARCH_CPU)))
+ EXTRA_CPPFLAGS += -DMUP_BASETYPE=float
+endif
+ifneq (,$(findstring armhf,$(DEB_TARGET_ARCH_CPU)))
+ EXTRA_CPPFLAGS += -DMUP_BASETYPE=float
+endif
+export DEB_CPPFLAGS_MAINT_APPEND = $(EXTRA_CPPFLAGS)
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
--
iannix packaging
More information about the pkg-multimedia-commits
mailing list