[SCM] mplayer2/master: Enable harden'd flags.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Thu Mar 29 23:36:39 UTC 2012
The following commit has been merged in the master branch:
commit 2014aba5585ae3ab953d68b529f725cc20c6dea2
Author: Alessio Treglia <alessio at debian.org>
Date: Fri Mar 30 01:35:39 2012 +0200
Enable harden'd flags.
Closes: #658034
Thanks: Moritz Muehlenhoff <jmm at debian.org> for the patch.
diff --git a/debian/rules b/debian/rules
index f734660..df3c483 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,16 @@ NUMJOBS := -j$(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
endif
endif
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += `dpkg-buildflags --get CPPFLAGS`
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+
confflags := --prefix=/usr \
--confdir=/etc/mplayer \
--enable-translation \
--disable-svga \
+ --extra-cflags="${CFLAGS}" \
+ --extra-ldflags="${LDFLAGS}" \
--enable-debug=3
# runtime cpu detection works on x86 and ppc only. These checks also work on kfreebsd!
--
mplayer2 packaging
More information about the pkg-multimedia-commits
mailing list