mirror of https://github.com/stella-emu/stella.git
libretro: Hide compiler options from msvc.
This commit is contained in:
parent
39d3eefcef
commit
9a49670d74
|
@ -10,11 +10,11 @@ BACKSLASH := \$(BACKSLASH)
|
||||||
filter_out1 = $(filter-out $(firstword $1),$1)
|
filter_out1 = $(filter-out $(firstword $1),$1)
|
||||||
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
||||||
|
|
||||||
CXXFLAGS += -Wall -Wunused -fno-rtti -Woverloaded-virtual
|
CXXFLAGS += -std=c++14 -Wall
|
||||||
CXXFLAGS += -Wnon-virtual-dtor -std=c++14
|
|
||||||
|
|
||||||
ifeq (,$(findstring msvc,$(platform)))
|
ifeq (,$(findstring msvc,$(platform)))
|
||||||
CXXFLAGS += -Wextra -Wno-unused-parameter -Wno-multichar
|
CXXFLAGS += -Wextra -Wno-unused-parameter -Wno-multichar -Wunused -fno-rtti \
|
||||||
|
-Woverloaded-virtual -Wnon-virtual-dtor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(platform),)
|
ifeq ($(platform),)
|
||||||
|
|
Loading…
Reference in New Issue