libretro: Hide compiler options from msvc.

This commit is contained in:
orbea 2019-05-03 21:26:54 -07:00 committed by Stephen Anthony
parent 39d3eefcef
commit 9a49670d74
1 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@ BACKSLASH := \$(BACKSLASH)
filter_out1 = $(filter-out $(firstword $1),$1)
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
CXXFLAGS += -Wall -Wunused -fno-rtti -Woverloaded-virtual
CXXFLAGS += -Wnon-virtual-dtor -std=c++14
CXXFLAGS += -std=c++14 -Wall
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
ifeq ($(platform),)