mirror of https://github.com/snes9xgit/snes9x.git
Don't use O3 for MSVC
This commit is contained in:
parent
8106d02de9
commit
a9a646eb60
|
@ -546,9 +546,14 @@ ifeq ($(DEBUG), 1)
|
|||
CFLAGS += -O0 -g -DDEBUG
|
||||
CXXFLAGS += -O0 -g -DDEBUG
|
||||
endif
|
||||
else
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
|
|
Loading…
Reference in New Issue