mirror of https://github.com/stella-emu/stella.git
libretro: fix msvc makefile
This commit is contained in:
parent
bd288f7119
commit
20d5615f1f
|
@ -10,9 +10,13 @@ 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 -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers
|
CXXFLAGS+= -Wall -Wno-unused-parameter -Wno-ignored-qualifiers
|
||||||
CXXFLAGS+= -Wno-multichar -Wunused -fno-rtti -Woverloaded-virtual -Wnon-virtual-dtor -std=c++14
|
CXXFLAGS+= -Wno-multichar -Wunused -fno-rtti -Woverloaded-virtual -Wnon-virtual-dtor -std=c++14
|
||||||
|
|
||||||
|
ifeq (,$(findstring msvc,$(platform)))
|
||||||
|
CXXFLAGS+= -Wextra
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(platform),)
|
ifeq ($(platform),)
|
||||||
platform = unix
|
platform = unix
|
||||||
ifeq ($(shell uname -s),)
|
ifeq ($(shell uname -s),)
|
||||||
|
|
Loading…
Reference in New Issue