OSDN Git Service

Generate sysv hash for libjnigraphics
authorDmitriy Ivanov <dimitry@google.com>
Tue, 10 Mar 2015 02:42:16 +0000 (19:42 -0700)
committerDmitriy Ivanov <dimitry@google.com>
Tue, 10 Mar 2015 02:42:16 +0000 (19:42 -0700)
Bug: 19059885
Change-Id: I9b227fda6549e15a5ce50ac6b59250dff1371bb3

native/graphics/jni/Android.mk

index 88954f0..14575ee 100644 (file)
@@ -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)