aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Kling2018-04-04 13:39:15 -0500
committerAaron Kling2018-04-04 13:39:15 -0500
commit245d35798fde169db8fa60bda2e86603233c1ea0 (patch)
tree5f9f49acc5033f9ed16e33997b143007a8bc7cf9
parentea4f4384c24996e839106d515f000269b5cfc792 (diff)
downloadpcsx_rearmed-245d35798fde169db8fa60bda2e86603233c1ea0.tar.gz
pcsx_rearmed-245d35798fde169db8fa60bda2e86603233c1ea0.tar.bz2
pcsx_rearmed-245d35798fde169db8fa60bda2e86603233c1ea0.zip
Fix android jni compile with clang
-rw-r--r--jni/Android.mk1
-rw-r--r--jni/Application.mk1
2 files changed, 1 insertions, 1 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 9dd9e39..7d21514 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -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)
diff --git a/jni/Application.mk b/jni/Application.mk
index 3e882e7..f05229c 100644
--- a/jni/Application.mk
+++ b/jni/Application.mk
@@ -1,2 +1 @@
APP_ABI := armeabi armeabi-v7a
-APP_PLATFORM := android-9