From: Aaron Kling Date: Wed, 4 Apr 2018 18:39:15 +0000 (-0500) Subject: Fix android jni compile with clang X-Git-Tag: r24l~778^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=245d35798fde169db8fa60bda2e86603233c1ea0;p=pcsx_rearmed.git Fix android jni compile with clang --- diff --git a/jni/Android.mk b/jni/Android.mk index 9dd9e399..7d215146 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 3e882e74..f05229c8 100644 --- a/jni/Application.mk +++ b/jni/Application.mk @@ -1,2 +1 @@ APP_ABI := armeabi armeabi-v7a -APP_PLATFORM := android-9