mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-17 09:30:23 +00:00
Merge pull request #8 from iKarith/master
IOS: move work with CC/CXX passed by libretro-super
This commit is contained in:
commit
ad719f6333
8
Makefile
8
Makefile
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user