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