diff options
author | Dan Albert <danalbert@google.com> | 2016-01-04 11:12:11 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-01-04 11:12:11 -0800 |
commit | c3cf711054bd6f9d8c49fb647adb067055774ef5 (patch) | |
tree | 29f1015ab7d65d799a4b36a29ec23668f9c5b1cd | |
parent | 68bb21de77e93d0358e2d77d502eb23536bbdb15 (diff) | |
download | libcxxabi-c3cf711054bd6f9d8c49fb647adb067055774ef5.tar.gz |
Remove assembler workaround since we have the fix.brillo-m9-releasebrillo-m9-dev
Fix is in https://android-review.googlesource.com/#/c/189112
Change-Id: Ia853e5fb84334729c13e4ef254faf417d46c4186
-rw-r--r-- | Android.bp | 8 | ||||
-rw-r--r-- | Android.mk | 8 |
2 files changed, 0 insertions, 16 deletions
@@ -55,14 +55,6 @@ cc_library_static { arch: { arm: { include_dirs: ["external/libunwind_llvm/include"], - // When src/cxa_exception.cpp is compiled with Clang assembler - // __cxa_end_cleanup_impl, although marked as used, was discarded - // since it is used only in embedded assembly code. - // This caused the following warning when linking libc++.so: - // libc++_static.a(cxa_exception.o)(.text.__cxa_end_cleanup+0x2): - // warning: relocation refers to discarded section - // See also http://llvm.org/bugs/show_bug.cgi?id=21292. - clang_cflags: ["-no-integrated-as"], cppflags: ["-DLIBCXXABI_USE_LLVM_UNWINDER=1"], }, arm64: { @@ -67,14 +67,6 @@ LOCAL_CPPFLAGS_x86_64 := -DLIBCXXABI_USE_LLVM_UNWINDER=0 LOCAL_RTTI_FLAG := $(LIBCXXABI_RTTI_FLAG) LOCAL_CXX_STL := none LOCAL_SANITIZE := never -# When src/cxa_exception.cpp is compiled with Clang assembler -# __cxa_end_cleanup_impl, although marked as used, was discarded -# since it is used only in embedded assembly code. -# This caused the following warning when linking libc++.so: -# libc++_static.a(cxa_exception.o)(.text.__cxa_end_cleanup+0x2): -# warning: relocation refers to discarded section -# See also http://llvm.org/bugs/show_bug.cgi?id=21292. -LOCAL_CLANG_CFLAGS_arm += -no-integrated-as include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) |