commit | b952a77e703a53c33760ce3f4e43c62a14b6c186 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Oct 21 17:31:35 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Thu Oct 21 14:19:48 2021 +0000 |
tree | d4ebcc2941e28259e1dd6070503cd9cb1deb1839 | |
parent | af2340a515ddb5bd640ac6244ce5dd1c3e49effc [diff] [blame] |
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
diff --git a/tests/Android.bp b/tests/Android.bp index cbf0a9f..355f396 100644 --- a/tests/Android.bp +++ b/tests/Android.bp
@@ -1124,6 +1124,11 @@ static_executable: true, stl: "libc++_static", + // Clang cannot build ifunc with LTO. + // http://b/203737712 + lto: { + never: true, + }, } // -----------------------------------------------------------------------------