diff options
author | Yi Kong <yikong@google.com> | 2021-10-21 17:31:35 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2021-10-21 14:19:48 +0000 |
commit | b952a77e703a53c33760ce3f4e43c62a14b6c186 (patch) | |
tree | d4ebcc2941e28259e1dd6070503cd9cb1deb1839 | |
parent | af2340a515ddb5bd640ac6244ce5dd1c3e49effc (diff) | |
download | bionic-b952a77e703a53c33760ce3f4e43c62a14b6c186.tar.gz |
Workaround Clang cannot build ifunc with LTO
This is a KI: https://bugs.llvm.org/show_bug.cgi?id=46488
Bug: 203737712
Test: m GLOBAL_THINLTO=true bionic-unit-tests-static
Change-Id: I950a85f9676136299fc994a800d32e20bf12a8dd
-rw-r--r-- | tests/Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Android.bp b/tests/Android.bp index cbf0a9f36..355f3963e 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -1124,6 +1124,11 @@ cc_test { static_executable: true, stl: "libc++_static", + // Clang cannot build ifunc with LTO. + // http://b/203737712 + lto: { + never: true, + }, } // ----------------------------------------------------------------------------- |