diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-08-21 00:04:25 +0200 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-14 13:43:00 +0100 |
commit | 9552daa50e5f6908a6a80441d8c1cf5c0e01c5fc (patch) | |
tree | 5e5a291f57a56755e9426ac28a441bfdddaf3ed5 | |
parent | 548fbbd0c596c1ec1bd4527de6ed839f509d1be8 (diff) | |
download | libcore-linaro_android_4.2.1.tar.gz |
libcore/luni: Use -fno-strict-aliasing for nowlinaro_android_4.2.1linaro_android_4.2
This will be reverted once we have a proper fix.
Change-Id: Iab4663a5f96ff9770371f54697aa872260037ac1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | NativeCode.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NativeCode.mk b/NativeCode.mk index 1aab9012335..4aeff74165a 100644 --- a/NativeCode.mk +++ b/NativeCode.mk @@ -67,6 +67,10 @@ 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 -fno-strict-aliasing +core_cflags += '-DGCC_HIDDEN=__attribute__((visibility("hidden")))' +core_cppflags := -fvisibility-inlines-hidden -fno-strict-aliasing + # # Build for the target (device). |