mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Make w3seek happy. Setting OPTIMIZE=yes as en enviro-var (do NOT add to config) will force optimizations for debug builds too (not recommended). Previous commit was a mistake.
svn path=/trunk/; revision=14371
This commit is contained in:
parent
a57d7a6f93
commit
9b5646acd0
1 changed files with 12 additions and 1 deletions
|
@ -644,7 +644,7 @@ endif
|
|||
endif
|
||||
|
||||
#
|
||||
# Enable Tree-Wide Optimization.
|
||||
# Enable Tree-Wide Optimization if Debug is on.
|
||||
# Protect uncompatible files here with an ifneq
|
||||
# if needed, until their problems can be found
|
||||
#
|
||||
|
@ -653,6 +653,17 @@ ifneq ($(DBG),1)
|
|||
MK_CPPFLAGS += -O2 -Wno-strict-aliasing
|
||||
endif
|
||||
|
||||
#
|
||||
# Force Optimization for w3seek
|
||||
#
|
||||
ifeq ($(OPTIMIZE),yes)
|
||||
# Don't double it
|
||||
ifneq ($(DBG),0)
|
||||
MK_CFLAGS += -O2 -Wno-strict-aliasing
|
||||
MK_CPPFLAGS += -O2 -Wno-strict-aliasing
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_LIBS),)
|
||||
MK_LIBS := $(TARGET_LIBS) $(MK_LIBS)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue