Merge pull request #8 from iKarith/master

IOS: move work with CC/CXX passed by libretro-super
This commit is contained in:
Twinaphex 2015-02-17 22:39:41 +01:00
commit ad719f6333

View File

@ -45,8 +45,8 @@ endif
CXX = cc++ $(fpic)
else ifeq ($(platform),ios)
fpic = -fPIC
CC = clang -arch armv7 -isysroot $(IOSSDK) -DHAVE_POSIX_MEMALIGN=1 -marm
CXX = clang++ -arch armv7 -isysroot $(IOSSDK) -DHAVE_POSIX_MEMALIGN=1 -marm
CC = clang -arch armv7 -isysroot $(IOSSDK)
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),"YES")
@ -82,6 +82,10 @@ ifeq ($(platform),osx)
endif
endif
ifeq ($(platform),ios)
extraflags += -DHAVE_POSIX_MEMALIGN=1 -marm
endif
# implicit rules
compile = \
$(strip \