[SCM] lame/master: Use CFLAGS from dpkg-buildflags, but don't pass -g or -O2.
ceros-guest at users.alioth.debian.org
ceros-guest at users.alioth.debian.org
Thu Feb 23 23:47:03 UTC 2012
The following commit has been merged in the master branch:
commit 6b090f990de35b2d4c091e4678ed9a38a09c7359
Author: Andres Mejia <amejia004 at gmail.com>
Date: Sun Jan 29 10:51:59 2012 -0500
Use CFLAGS from dpkg-buildflags, but don't pass -g or -O2.
diff --git a/debian/rules b/debian/rules
index b566395..9524528 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-CFLAGS = $(DEB_CFLAGS)
+CFLAGS = $(shell dpkg-buildflags --get CFLAGS | sed -e 's/-g\|-O2//g')
%:
dh $@ --parallel
--
lame packaging
More information about the pkg-multimedia-commits
mailing list