[SCM] lame/master: Do not mangle CFLAGS in debian/rules anymore, leave this to dpkg-buildflags

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Thu Jan 22 18:22:54 UTC 2015


The following commit has been merged in the master branch:
commit 387e23fc14c035495b42024627dc1502c573c7c1
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Thu Jan 22 19:22:44 2015 +0100

    Do not mangle CFLAGS in debian/rules anymore, leave this to dpkg-buildflags

diff --git a/debian/rules b/debian/rules
index 4985ff8..609b42f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,10 @@
 #!/usr/bin/make -f
 
-CFLAGS = $(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g')
-ifeq (,$(CFLAGS))
-  # Handle case for versions of Debian/Ubuntu that have dpkg-dev (<< 1.15.7).
-  CFLAGS = -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
-endif
-
 %:
 	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		--disable-debug \
 		--disable-rpath \
 		--enable-dynamic-frontends \
 		--enable-expopt=full \

-- 
lame packaging



More information about the pkg-multimedia-commits mailing list