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
Don't strip debug build
[pcsx_rearmed.git]
/
Makefile.libretro
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
cf8e080
..
3546180
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-49,12
+49,12
@@
EXTRA_LDFLAGS =
# select some defaults
ifneq (,$(findstring $(ARCH_DETECTED),arm aarch64))
DYNAREC = ari64
# select some defaults
ifneq (,$(findstring $(ARCH_DETECTED),arm aarch64))
DYNAREC = ari64
-ifneq (
$(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),
)
+ifneq (
,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep 'define __thumb__')
)
# must disable thumb as ari64 can't handle it
CFLAGS += -marm
endif
# must disable thumb as ari64 can't handle it
CFLAGS += -marm
endif
-ifneq (
$(findstring __ARM_NEON,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),
)
- BUILTIN_GPU = neon
+ifneq (
,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep 'HAVE_NEON32')
)
+ BUILTIN_GPU = neon
endif
endif
ifneq (,$(findstring $(ARCH_DETECTED),i686 x86_64 aarch64))
endif
endif
ifneq (,$(findstring $(ARCH_DETECTED),i686 x86_64 aarch64))
@@
-505,7
+505,10
@@
else ifeq ($(platform), emscripten)
else
TARGET := $(TARGET_NAME)_libretro.dll
PLATFORM = libretro
else
TARGET := $(TARGET_NAME)_libretro.dll
PLATFORM = libretro
- MAIN_LDFLAGS += -static-libgcc -static-libstdc++ -s
+ MAIN_LDFLAGS += -static-libgcc -static-libstdc++
+ifneq ($(DEBUG),1)
+ MAIN_LDFLAGS += -s
+endif
CFLAGS += -D__WIN32__ -DNO_DYLIB
MMAP_WIN32=1
MAIN_LDLIBS += -lws2_32
CFLAGS += -D__WIN32__ -DNO_DYLIB
MMAP_WIN32=1
MAIN_LDLIBS += -lws2_32