[SCM] amsynth/master: Tune CFLAGS and implement DEB_BUILD_OPTIONS' noopt flag.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Thu Feb 9 20:28:50 UTC 2012
The following commit has been merged in the master branch:
commit b0360ddb4cf9ed0080f685655492ebb30b5784f1
Author: Alessio Treglia <alessio at debian.org>
Date: Thu Feb 9 21:26:54 2012 +0100
Tune CFLAGS and implement DEB_BUILD_OPTIONS' noopt flag.
diff --git a/debian/rules b/debian/rules
index c4a395c..f596e2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,13 @@
#!/usr/bin/make -f
export LDFLAGS+=-Wl,--as-needed
+export CFLAGS+=-Wall -g -fno-exceptions -fomit-frame-pointer
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
%:
dh $@ --parallel --with autoreconf
--
amsynth packaging
More information about the pkg-multimedia-commits
mailing list