From 3947d5da3f98cd462c77c272d51cf4c01d9fcc65 Mon Sep 17 00:00:00 2001 From: Goran Jakovljevic Date: Tue, 10 Mar 2015 17:17:28 +0100 Subject: [PATCH] Generate gnu hash for arm only Fixes mips build failure caused by: https://android-review.googlesource.com/#/c/139580/ 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: I757fef1d47663da3e414f5771dfc580ea7aa3732 --- liblog/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/Android.mk b/liblog/Android.mk index 89fca44c1..d7766f544 100644 --- a/liblog/Android.mk +++ b/liblog/Android.mk @@ -85,7 +85,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := liblog LOCAL_CFLAGS := -Werror $(liblog_cflags) # 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)