[SCM] libavc1394/master: Implement DEB_BUILD_OPTIONS noopt flag.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Feb 8 20:31:47 UTC 2012


The following commit has been merged in the master branch:
commit 2f645cde2aecc77175f374e412f58a6f7462d449
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Feb 8 21:31:28 2012 +0100

    Implement DEB_BUILD_OPTIONS noopt flag.
    
    Closes: #372894

diff --git a/debian/rules b/debian/rules
index b390d8a..d5e5280 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -00
+endif
+
 %:
 	dh $@ --parallel --with autoreconf
 

-- 
libavc1394 packaging



More information about the pkg-multimedia-commits mailing list