21 lines
639 B
Text
21 lines
639 B
Text
Index: libretro/Makefile
|
|
--- libretro/Makefile.orig
|
|
+++ libretro/Makefile
|
|
@@ -83,7 +83,7 @@ ifeq ($(platform), unix)
|
|
EXT ?= so
|
|
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
|
fpic := -fPIC
|
|
- SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/link.T -Wl,--no-undefined
|
|
+ SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/link.T
|
|
else ifeq ($(platform), linux-portable)
|
|
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
|
fpic := -fPIC -nostdlib
|
|
@@ -306,7 +306,7 @@ LDFLAGS += $(LIBM)
|
|
ifeq ($(DEBUG), 1)
|
|
CFLAGS += -O0 -g
|
|
else
|
|
- CFLAGS += -O2 -DNDEBUG
|
|
+ CFLAGS += -DNDEBUG
|
|
endif
|
|
|
|
include Makefile.common
|