[SCM] libbluray/master: Enable hardened compiler flags.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Mon Mar 19 14:42:25 UTC 2012


The following commit has been merged in the master branch:
commit 4ec51e6f5a0005ce515a028ef99ab95a4aeeeb60
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Mon Mar 19 10:05:12 2012 -0400

    Enable hardened compiler flags.

diff --git a/debian/changelog b/debian/changelog
index e149dfd..92a886e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libbluray (1:0.2.1+git20111208.63e308d-5) unstable; urgency=low
+
+  * Enable hardened compiler flags.
+
+ -- Andres Mejia <amejia at debian.org>  Mon, 19 Mar 2012 10:03:21 -0400
+
 libbluray (1:0.2.1+git20111208.63e308d-4) unstable; urgency=low
 
   * Allow dev package to be multiarch installable.
diff --git a/debian/rules b/debian/rules
index 7fa76a9..030bd9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ confflags += --enable-bdjava --with-jdk=$(JAVA_HOME)
 endif
 
 # Set CFLAGS to DEB_CFLAGS
-CFLAGS=$(DEB_CFLAGS)
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-O2//g')
 
 ifneq (,$(findstring linux,$(DEB_BUILD_ARCH_OS)))
 %:

-- 
libbluray packaging



More information about the pkg-multimedia-commits mailing list