[SCM] libbluray/master: Force CFLAGS to be set by user via DEB_CFLAGS. This is done to prevent dpkg-buildpackage and friends to autoset -O2 (libbluray uses -O3 by default).

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Mon Sep 13 22:27:47 UTC 2010


The following commit has been merged in the master branch:
commit b7e7201a669c558fbb63e87571d5eb2f399626d8
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Mon Sep 13 18:26:48 2010 -0400

    Force CFLAGS to be set by user via DEB_CFLAGS.
    This is done to prevent dpkg-buildpackage and friends to autoset -O2 (libbluray
    uses -O3 by default).

diff --git a/debian/rules b/debian/rules
index b1cf0cf..ced206a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 export JAVA_HOME=/usr/lib/jvm/default-java
 
+# Set CFLAGS to DEB_CFLAGS
+CFLAGS=$(DEB_CFLAGS)
+
 %:
 	dh --with javahelper $@
 

-- 
libbluray packaging



More information about the pkg-multimedia-commits mailing list