summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2003-02-10 08:12:47 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2003-02-10 08:12:47 +0000
commitdc601ff20c8fea9f5b06187be39df404a2e7a766 (patch)
tree0c5f56181e386389ab18dfa5db5d5fea6a75c269
parentf8f238ddf11e2b522d65fb1c47e7de23100b5032 (diff)
Don't use -O0 when DODEBUG is turned on.
-rw-r--r--Rules.mak4
1 files changed, 0 insertions, 4 deletions
diff --git a/Rules.mak b/Rules.mak
index 203f682af..799952970 100644
--- a/Rules.mak
+++ b/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