notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(OSX) Lower requirements to OSX 10.1(OSX) Lower requirements to OSX 10.1(OSX) Lower...
[pcsx_rearmed.git]
/
Makefile.libretro
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
2210e9c
..
d08bef1
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-49,19
+49,22
@@
else ifeq ($(platform), osx)
SHARED := -dynamiclib
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
SHARED := -dynamiclib
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
- ifeq ($(OSX_LT_MAVERICKS),"YES")
- fpic += -mmacosx-version-min=10.5
- endif
+ fpic += -mmacosx-version-min=10.1
# iOS
else ifeq ($(platform), ios)
ARCH := arm
# iOS
else ifeq ($(platform), ios)
ARCH := arm
+ USE_DYNAREC ?= 1
TARGET := $(TARGET_NAME)_libretro_ios.dylib
TARGET := $(TARGET_NAME)_libretro_ios.dylib
+ifeq ($(USE_DYNAREC),0)
+ # Override
+ TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
+endif
fpic := -fPIC
SHARED := -dynamiclib
ifeq ($(IOSSDK),)
fpic := -fPIC
SHARED := -dynamiclib
ifeq ($(IOSSDK),)
- IOSSDK := $(shell xc
run -sdk iphoneos -show-sdk-p
ath)
+ IOSSDK := $(shell xc
odebuild -version -sdk iphoneos P
ath)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
@@
-71,7
+74,6
@@
else ifeq ($(platform), ios)
ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
HAVE_NEON = 1
BUILTIN_GPU = neon
ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
HAVE_NEON = 1
BUILTIN_GPU = neon
- USE_DYNAREC = 1
CFLAGS += -DIOS
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
CFLAGS += -DIOS
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
@@
-201,6
+203,14
@@
SOUND_DRIVERS = libretro
PLUGINS =
NO_CONFIG_MAK = yes
PLUGINS =
NO_CONFIG_MAK = yes
+libretro_all: all
+ifeq ($(platform),ios)
+ifeq ($(USE_DYNAREC),1)
+ make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform) clean
+ make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform)
+endif
+endif
+
include Makefile
# no special AS needed for gpu_neon
include Makefile
# no special AS needed for gpu_neon