libretro: Attempt to fix the ios build.

This copies the solution for the osx build which failed the same way.
This commit is contained in:
orbea 2019-05-03 07:24:00 -07:00 committed by Stephen Anthony
parent 17c64658ed
commit eb3e1b00dd
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ else ifeq ($(platform), classic_armv7_a7)
# iOS # iOS
else ifneq (,$(findstring ios,$(platform))) else ifneq (,$(findstring ios,$(platform)))
CXXFLAGS += $(LTO) $(PTHREAD_FLAGS) CXXFLAGS += $(LTO) $(PTHREAD_FLAGS) -stdlib=libc++
LDFLAGS += $(LTO) $(PTHREAD_FLAGS) LDFLAGS += $(LTO) $(PTHREAD_FLAGS) -stdlib=libc++
TARGET := $(TARGET_NAME)_libretro_ios.dylib TARGET := $(TARGET_NAME)_libretro_ios.dylib
fpic := -fPIC fpic := -fPIC
SHARED := -dynamiclib SHARED := -dynamiclib