libretro: fix unexpected reloc type 0x03 error on Raspberry Pi 3
authorConn O'Griofa <connogriofa@gmail.com>
Tue, 5 Sep 2017 14:40:44 +0000 (15:40 +0100)
committerConn O'Griofa <connogriofa@gmail.com>
Tue, 5 Sep 2017 14:41:05 +0000 (15:41 +0100)
Issue is caused by commit 66dda842eae01f47f5389b931ec9567fb0bbb6a1 in
cpu/cyclone submodule.

Makefile.libretro

index 306c8af..14f2dc5 100644 (file)
@@ -366,7 +366,7 @@ else ifeq ($(platform), qnx)
 # ARM
 else ifneq (,$(findstring armv,$(platform)))
        TARGET := $(TARGET_NAME)_libretro.so
-       SHARED := -shared -Wl,--no-undefined
+       SHARED := -shared -Wl,--no-undefined,-Bsymbolic
    fpic := -fPIC
        ifneq (,$(findstring cortexa5,$(platform)))
                CFLAGS += -marm -mcpu=cortex-a5