[Pkg-voip-commits] r6003 - in /asterisk/trunk/debian: changelog rules
maniac-guest at alioth.debian.org
maniac-guest at alioth.debian.org
Wed Jul 30 08:51:56 UTC 2008
Author: maniac-guest
Date: Wed Jul 30 08:51:56 2008
New Revision: 6003
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6003
Log:
filter DEB_BUILD_OPTION noopt ( Closes: #492941 ).
Modified:
asterisk/trunk/debian/changelog
asterisk/trunk/debian/rules
Modified: asterisk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/changelog?rev=6003&op=diff
==============================================================================
--- asterisk/trunk/debian/changelog (original)
+++ asterisk/trunk/debian/changelog Wed Jul 30 08:51:56 2008
@@ -1,6 +1,7 @@
asterisk (1:1.4.21.2~dfsg-2) UNRELEASED; urgency=low
* Depend on debhelper >=5 on backport etch.
+ * filter DEB_BUILD_OPTION noopt ( Closes: #492941 ).
-- Victor Seva <linuxmaniac at torreviejawireless.org> Thu, 24 Jul 2008 21:00:20 +0200
Modified: asterisk/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/rules?rev=6003&op=diff
==============================================================================
--- asterisk/trunk/debian/rules (original)
+++ asterisk/trunk/debian/rules Wed Jul 30 08:51:56 2008
@@ -16,7 +16,11 @@
export PROC := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
-BUILDFLAGS += OPTIMIZE=-O2
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ BUILDFLAGS += OPTIMIZE=-O0
+else
+ BUILDFLAGS += OPTIMIZE=-O2
+endif
BUILDFLAGS += MAKECMDGOALS=dont-optimize
# show full gcc arguments instead of [CC] and [LD]
More information about the Pkg-voip-commits
mailing list