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) Set min OS version to 10.6
[pcsx_rearmed.git]
/
Makefile.libretro
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
6f7b29a
..
62044b4
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-25,10
+25,14
@@
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=libretro/link.T
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=libretro/link.T
+ BUILTIN_GPU = neon
+ CFLAGS += -DNEON_PC
else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
- fpic := -fPIC
+ fpic := -fPIC
-mmacosx-version-min=10.6
SHARED := -dynamiclib
SHARED := -dynamiclib
+ BUILTIN_GPU = neon
+ CFLAGS += -DNEON_PC
else ifeq ($(platform), ios)
ARCH := arm
TARGET := $(TARGET_NAME)_libretro_ios.dylib
else ifeq ($(platform), ios)
ARCH := arm
TARGET := $(TARGET_NAME)_libretro_ios.dylib
@@
-124,6
+128,8
@@
else
LD_FLAGS := -fPIC
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
LD_FLAGS := -fPIC
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
+ BUILTIN_GPU = neon
+ CFLAGS += -DNEON_PC
endif
CFLAGS += -fPIC
endif
CFLAGS += -fPIC
@@
-144,11
+150,6
@@
NO_CONFIG_MAK = yes
include Makefile
include Makefile
-# workaround segfault for this file seen on:
-# Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
-libpcsxcore/new_dynarec/pcsxmem.o: libpcsxcore/new_dynarec/pcsxmem.c
- $(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS) -Os
-
# no special AS needed for gpu_neon
plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o: plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
$(CC) $(CFLAGS) -c $^ -o $@
# no special AS needed for gpu_neon
plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o: plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
$(CC) $(CFLAGS) -c $^ -o $@