Skip to content

Commit 17f4ac1

Browse files
committed
~Text relocations for x86 arch are removed (there is no text relocations for other archs for now). See http://android-developers.blogspot.ru/2016/06/android-changes-for-ndk-developers.html
1 parent d085579 commit 17f4ac1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jni/vendor/libjpeg-turbo/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ LOCAL_SRC_FILES += \
7676
LOCAL_CFLAGS += \
7777
-DSIZEOF_SIZE_T=4 \
7878

79+
LOCAL_ASMFLAGS += -DPIC
80+
7981
else ifneq ($(filter $(TARGET_ARCH_ABI), armeabi-v7a armeabi-v7a-hard),)
8082
LOCAL_SRC_FILES += \
8183
$(SOURCE_PATH)/simd/jsimd_arm.c \

0 commit comments

Comments
 (0)