Alex Ionescu <ionucu@videotron.ca>
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 13 Mar 2005 18:55:01 +0000 (18:55 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 13 Mar 2005 18:55:01 +0000 (18:55 +0000)
- Use optimized semantics as previously decided (OPTIMIZED = 1 if DBG = 0)

svn path=/trunk/; revision=14027

reactos/config
reactos/tools/helper.mk

index 34aa938..3f4ba86 100644 (file)
@@ -27,11 +27,6 @@ KDBG := 0
 #
 DBG := 0
 
-#
-# Whether to compile with optimizations
-#
-OPTIMIZED := 0
-
 #
 # Whether to compile a multiprocessor or single processor version
 #
index 6bded59..2ceb9ba 100644 (file)
@@ -648,7 +648,7 @@ endif
 # Protect uncompatible files here with an ifneq
 # if needed, until their problems can be found
 #
-ifeq ($(OPTIMIZED), 1)
+ifeq ($(DBG), 0)
   MK_CFLAGS += -O2 -Wno-strict-aliasing
   MK_CPPFLAGS += -O2 -Wno-strict-aliasing
 endif