From f0597674dc5bd70523d8fb7d1b77cdfcb4580cf8 Mon Sep 17 00:00:00 2001 From: Bobby Smith <33353403+bslenul@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:33:00 +0200 Subject: [PATCH] Don't strip debug build --- Makefile.libretro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 069290cc..35461804 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -505,7 +505,10 @@ else ifeq ($(platform), emscripten) 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 -- 2.39.5