[Pkg-php-commits] [php/debian-sid] Pass -O0 when using 'noopt' to actually disable any optimization
Raphael Geissert
geissert at debian.org
Tue Feb 9 23:21:56 UTC 2010
---
debian/rules | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index 0526a20..7719f25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,8 @@ export QUILT_DIFF_OPTS QUILT_NO_DIFF_TIMESTAMPS
PROG_SENDMAIL = /usr/sbin/sendmail
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
+else
+ CFLAGS += -O0
endif
CFLAGS += -Wall -fsigned-char -fno-strict-aliasing
# LFS support
--
1.6.3.3
More information about the Pkg-php-commits
mailing list