bnicholes 2002/08/26 08:29:31
Modified: build NWGNUenvironment.inc Log: Turn off optimization completely when building debug Revision Changes Path 1.3 +2 -2 apr/build/NWGNUenvironment.inc Index: NWGNUenvironment.inc =================================================================== RCS file: /home/cvs/apr/build/NWGNUenvironment.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- NWGNUenvironment.inc 11 Jun 2002 18:30:16 -0000 1.2 +++ NWGNUenvironment.inc 26 Aug 2002 15:29:31 -0000 1.3 @@ -141,10 +141,10 @@ 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
