You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/08/26 17:29:31 UTC

cvs commit: apr/build NWGNUenvironment.inc

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