From 12f4749df86698170718f80aabf8243b7c55833c Mon Sep 17 00:00:00 2001 From: Goran Jakovljevic Date: Tue, 10 Mar 2015 17:26:01 +0100 Subject: Generate gnu hash for arm only Fixes build failure caused by: https://android-review.googlesource.com/#/c/139670/ As previously discussed [1], MIPS does not support GNU-style ELF hashes. [1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk Change-Id: I8edb8a1595308db2ecd1bd6650a069b1224ae64f --- native/graphics/jni/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native') diff --git a/native/graphics/jni/Android.mk b/native/graphics/jni/Android.mk index 14575ee..b7f0fbd 100644 --- a/native/graphics/jni/Android.mk +++ b/native/graphics/jni/Android.mk @@ -31,7 +31,7 @@ LOCAL_MODULE:= libjnigraphics LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code # TODO: This is to work around b/19059885. Remove after root cause is fixed -LOCAL_LDFLAGS := -Wl,--hash-style=both +LOCAL_LDFLAGS_arm := -Wl,--hash-style=both include $(BUILD_SHARED_LIBRARY) -- cgit v1.1