[SCM] opencore-amr packaging branch, master, updated. upstream/0.1.2-10-g7bf1e45
ceros-guest at users.alioth.debian.org
ceros-guest at users.alioth.debian.org
Fri Sep 18 20:48:40 UTC 2009
The following commit has been merged in the master branch:
commit 2239fca3b92bcd3fd38fd24940d88bea436571bb
Author: Andres Mejia <mcitadel at gmail.com>
Date: Tue May 19 03:08:04 2009 -0400
Set Debian package to be compiled with -O2. Allow to be overridden with
DEB_BUILD_OPTIONS="noopt".
Also display what DEB_BUILD_OPTIONS are set.
diff --git a/debian/rules b/debian/rules
index 534cea8..5d8b0c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
CXXFLAGS = -Wall -g -fPIC -DPIC $(DEB_CXXFLAGS)
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -O2
+else
+ CXXFLAGS += -O0
+endif
+$(info DEB_BUILD_OPTIONS = $(DEB_BUILD_OPTIONS))
$(info CXXFLAGS = $(CXXFLAGS))
%:
--
opencore-amr packaging
More information about the pkg-multimedia-commits
mailing list