From: Bradley Nicholes Date: Mon, 26 Aug 2002 15:29:47 +0000 (+0000) Subject: Turn off optimization completely when building debug X-Git-Tag: AGB_BEFORE_AAA_CHANGES~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68b60801141d8a0334da3527b9dbdd592c7a61dd;p=apache 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 --- 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