summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-08-26 17:29:47 +0200
committerBradley Nicholes <bnicholes@apache.org>2002-08-26 17:29:47 +0200
commit68b60801141d8a0334da3527b9dbdd592c7a61dd (patch)
tree50352875afda9c1fffa589a1ed44a72c1478ec84 /build
parentCheck for pthread_kill (diff)
downloadapache2-68b60801141d8a0334da3527b9dbdd592c7a61dd.tar.xz
apache2-68b60801141d8a0334da3527b9dbdd592c7a61dd.zip
Turn off optimization completely when building debug
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/NWGNUenvironment.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 53fec990e5..e9bf2c1bbd 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -141,10 +141,10 @@ PLIB3S = $(METROWERKS)\Novell Support\Metrowerks Support\Libraries\MSL C++\MWCPP
CFLAGS = -c -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII -inst mmx
# -g generate debugging information
-# -O1 level 1 optimizations
+# -O0 level 0 optimizations
ifeq "$(RELEASE)" "debug"
-CFLAGS += -g -O1
+CFLAGS += -g -O0
endif
# -O4,p level 4 optimizations, optimize for speed