Use 10.9 with libC++

This commit is contained in:
Rob Loach 2017-11-02 13:09:16 -04:00
parent 0bc5ae0eb2
commit 0923a63631
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -9,11 +9,13 @@ endif
FLAGS += -D__LIBRETRO__ $(COREDEFINES) $(ENDIANNESS_DEFINES) $(PLATFORM_DEFINES) $(WARNINGS) $(fpic)
CXXFLAGS += $(FLAGS) -fpermissive -std=c++14
CXXFLAGS += $(FLAGS) -fpermissive
CFLAGS += $(FLAGS) -std=gnu99
ifeq ($(platform), osx)
CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.4
CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.9
else
CXXFLAGS += -std=c++14
endif
$(TARGET): $(OBJECTS) | dependencies