libretro: fix compile flags

- turned off most warnings, since this build is not meant for developers
  (bugs will be fixed on the main devel machines, where warnings are more useful)
- use C++14 flag for non-Windows builds only
This commit is contained in:
Stephen Anthony 2019-05-15 16:59:03 -02:30
parent 00355c01a4
commit b10ba17a0c
1 changed files with 1 additions and 7 deletions

View File

@ -10,13 +10,6 @@ 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 += -std=c++14 -Wall
ifeq (,$(findstring msvc,$(platform)))
CXXFLAGS += -Wextra -Wno-unused-parameter -Wno-multichar -Wunused -fno-rtti \
-Woverloaded-virtual -Wnon-virtual-dtor
endif
ifeq ($(platform),) ifeq ($(platform),)
platform = unix platform = unix
ifeq ($(shell uname -s),) ifeq ($(shell uname -s),)
@ -50,6 +43,7 @@ TARGET_NAME = stella
ifeq (,$(findstring msvc,$(platform))) ifeq (,$(findstring msvc,$(platform)))
CXXFLAGS += -std=c++14 -fno-rtti
LIBS := -lm LIBS := -lm
else else
LIBS := LIBS :=