Fix android jni compile with clang
authorAaron Kling <webgeek1234@gmail.com>
Wed, 4 Apr 2018 18:39:15 +0000 (13:39 -0500)
committerAaron Kling <webgeek1234@gmail.com>
Wed, 4 Apr 2018 18:39:15 +0000 (13:39 -0500)
jni/Android.mk
jni/Application.mk

index 9dd9e39..7d21514 100644 (file)
@@ -102,6 +102,7 @@ LOCAL_SRC_FILES += ../frontend/libretro.c
 
 LOCAL_CFLAGS += -O3 -ffast-math -funroll-loops -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LIBRETRO -DNO_FRONTEND -DFRONTEND_SUPPORTS_RGB565 -DANDROID
 LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
+LOCAL_LDFLAGS := -Wl,-Bsymbolic -shared
 LOCAL_LDLIBS := -lz -llog
 
 include $(BUILD_SHARED_LIBRARY)
index 3e882e7..f05229c 100644 (file)
@@ -1,2 +1 @@
 APP_ABI := armeabi armeabi-v7a
-APP_PLATFORM := android-9