From: Bobby Smith <33353403+bslenul@users.noreply.github.com> Date: Mon, 17 Jul 2023 14:33:00 +0000 (+0200) Subject: Don't strip debug build X-Git-Tag: r24l~298^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0597674dc5bd70523d8fb7d1b77cdfcb4580cf8;p=pcsx_rearmed.git Don't strip debug build --- 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