diff options
author | Elliott Hughes <enh@google.com> | 2012-05-18 09:37:47 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-08-01 13:30:28 -0700 |
commit | 9634b569a92841f32268907c88c408f22cb00486 (patch) | |
tree | 1e8cb1f3ff3db4b954599566d70984829ce04466 /NativeCode.mk | |
parent | 17380a3a99e106f0900394e8e876c108094f61b2 (diff) | |
download | libcore-9634b569a92841f32268907c88c408f22cb00486.zip libcore-9634b569a92841f32268907c88c408f22cb00486.tar.gz libcore-9634b569a92841f32268907c88c408f22cb00486.tar.bz2 |
Stop using -fvisibility=hidden.
It breaks backtraces, and backtraces are useful. (The debugger uses
the ELF debug info, so it doesn't care, but backtracing just uses the
symbols.)
(cherry-pick of da2fb9754a9ccfa954c1b554982f06e7cf7d680a.)
Bug: 6447213
Change-Id: I957df0e935b61bcf5fefc0e506ecdaa862bc7d07
Diffstat (limited to 'NativeCode.mk')
-rw-r--r-- | NativeCode.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/NativeCode.mk b/NativeCode.mk index 2a222b1..fae0fce 100644 --- a/NativeCode.mk +++ b/NativeCode.mk @@ -65,9 +65,6 @@ $(foreach dir, \ core_c_includes := $(sort libcore/include $(LOCAL_C_INCLUDES) $(JNI_H_INCLUDE)) core_shared_libraries := $(sort $(LOCAL_SHARED_LIBRARIES)) core_static_libraries := $(sort $(LOCAL_STATIC_LIBRARIES)) -core_cflags := -fvisibility=hidden -core_cflags += '-DGCC_HIDDEN=__attribute__((visibility("hidden")))' -core_cppflags := -fvisibility-inlines-hidden # |