diff --git a/native/graphics/jni/Android.mk b/native/graphics/jni/Android.mk index 88954f04cd33e..14575ee13eb78 100644 --- a/native/graphics/jni/Android.mk +++ b/native/graphics/jni/Android.mk @@ -30,5 +30,8 @@ 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 + include $(BUILD_SHARED_LIBRARY)