[SCM] pd-ext13/master: passed hardening flags to build
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Sun Jan 15 18:27:43 UTC 2017
The following commit has been merged in the master branch:
commit dd275ddce9ef718bd6a21b40dd54f8688f382fdc
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Sun Jan 15 18:54:20 2017 +0100
passed hardening flags to build
diff --git a/debian/rules b/debian/rules
index c5af582..fa05391 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ pkglibdir = /usr/lib/pd/extra
%:
dh $@ --buildsystem=makefile
+override_dh_auto_build:
+ dh_auto_build -- \
+ CFLAGS="-DPD -fPIC $(CFLAGS) $(CPPFLAGS) -I/usr/include/pd" \
+ LDFLAGS="-Wl,--export-dynamic -shared -fPIC $(LDFLAGS)"
+
override_dh_auto_install:
dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
# replace license file with link to the Debian license file
--
pd-ext13 packaging
More information about the pkg-multimedia-commits
mailing list