--no-undefined doesn't work for Clang
This commit is contained in:
parent
acac41a910
commit
f419216e41
7
Makefile
7
Makefile
|
@ -39,8 +39,9 @@ else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET_NAME := gpsp
|
TARGET_NAME := gpsp
|
||||||
LIBM = -lm
|
LIBM := -lm
|
||||||
CORE_DIR := .
|
CORE_DIR := .
|
||||||
|
LDFLAGS :=
|
||||||
|
|
||||||
# Unix
|
# Unix
|
||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
|
@ -54,6 +55,7 @@ ifeq ($(platform), unix)
|
||||||
LIBM :=
|
LIBM :=
|
||||||
endif
|
endif
|
||||||
CFLAGS += $(FORCE_32BIT) -DHAVE_MMAP
|
CFLAGS += $(FORCE_32BIT) -DHAVE_MMAP
|
||||||
|
LDFLAGS := -Wl,--no-undefined
|
||||||
# OS X
|
# OS X
|
||||||
else ifeq ($(platform), osx)
|
else ifeq ($(platform), osx)
|
||||||
TARGET := $(TARGET_NAME)_libretro.dylib
|
TARGET := $(TARGET_NAME)_libretro.dylib
|
||||||
|
@ -235,7 +237,6 @@ ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
|
||||||
CFLAGS += -DFRONTEND_SUPPORTS_RGB565
|
CFLAGS += -DFRONTEND_SUPPORTS_RGB565
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS := -Wl,--no-undefined
|
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue