diff --git a/src/libretro/Makefile b/src/libretro/Makefile index b7b6f63f6..6f25f3f2b 100644 --- a/src/libretro/Makefile +++ b/src/libretro/Makefile @@ -10,9 +10,13 @@ BACKSLASH := \$(BACKSLASH) filter_out1 = $(filter-out $(firstword $1),$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 +ifeq (,$(findstring msvc,$(platform))) + CXXFLAGS+= -Wextra +endif + ifeq ($(platform),) platform = unix ifeq ($(shell uname -s),)