libretro: fix msvc makefile

This commit is contained in:
trinemark 2019-05-01 11:00:09 -05:00 committed by Stephen Anthony
parent bd288f7119
commit 20d5615f1f
1 changed files with 5 additions and 1 deletions

View File

@ -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),)