Browse Source

Don't use -O0 when DODEBUG is turned on.

Miles Bader 22 years ago
parent
commit
dc601ff20c
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Rules.mak

+ 0 - 4
Rules.mak

@@ -158,10 +158,6 @@ endif
 
 # use '-Os' optimization if available, else use -O2, allow Config to override
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
-# Override optimization settings when debugging
-ifeq ($(DODEBUG),y)
-OPTIMIZATION=-O0
-endif
 
 
 # Add a bunch of extra pedantic annoyingly strict checks