foxygit / fake-08-xbox360 Log in
commit 0dc46744dd283b95b98dccc0e014f7b39fd08451
Author:     Bobby Smith <33353403+bslenul@users.noreply.github.com>
AuthorDate: Tue Sep 5 12:34:58 2023 +0200
Commit:     Bobby Smith <33353403+bslenul@users.noreply.github.com>
CommitDate: Tue Sep 5 12:37:47 2023 +0200

    [Libretro] Don't strip debug build
---
 platform/libretro/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/platform/libretro/Makefile b/platform/libretro/Makefile
index 40805b8..e2e1d49 100644
--- a/platform/libretro/Makefile
+++ b/platform/libretro/Makefile
@@ -136,7 +136,10 @@ else ifeq ($(platform), gcw0)
 else
    CC = gcc
    TARGET := $(TARGET_NAME)_libretro.dll
-   SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=link.T -Wl,--no-undefined
+   SHARED := -shared -static-libgcc -static-libstdc++ -Wl,--version-script=link.T -Wl,--no-undefined
+ifneq ($(DEBUG), 1)
+   SHARED += -s
+endif
 endif

 LDFLAGS += $(LIBM)