summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-01-30 23:23:05 -0800
committerDan Albert <danalbert@google.com>2018-02-12 13:53:52 -0800
commit684b01cee5b6753c512acfec5bc5effb73e9c523 (patch)
tree6a57021c0a0fafbe3782ac5a9c3f1265b6424825
parente832012f7d1ce650d1fbff3c86389e86c579c6e7 (diff)
downloadexternal_libcxx-684b01cee5b6753c512acfec5bc5effb73e9c523.tar.gz
external_libcxx-684b01cee5b6753c512acfec5bc5effb73e9c523.tar.bz2
external_libcxx-684b01cee5b6753c512acfec5bc5effb73e9c523.zip
Link libcompiler_rt-extras.
Test: ndk/checkbuild.py && ndk/run_tests.py Bug: https://github.com/android-ndk/ndk/issues/294 Change-Id: I0b73880efb981e5d75c813b01b2bdaa22bcdabe9 (cherry picked from commit faa65d70c87cc59a3e7f540bd44df57413a5308c)
-rw-r--r--utils/libcxx/ndk/test/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/libcxx/ndk/test/config.py b/utils/libcxx/ndk/test/config.py
index c85e58ae4..3e4bb8535 100644
--- a/utils/libcxx/ndk/test/config.py
+++ b/utils/libcxx/ndk/test/config.py
@@ -106,6 +106,10 @@ class Configuration(libcxx.test.config.Configuration):
self.cxx.link_flags.append('-lunwind')
self.cxx.link_flags.append('-Wl,--exclude-libs,libunwind.a')
+ self.cxx.link_flags.append('-lcompiler_rt-extras')
+ self.cxx.link_flags.append(
+ '-Wl,--exclude-libs,libcompiler_rt-extras.a')
+
self.cxx.link_flags.append('-latomic')
self.cxx.link_flags.append('-Wl,--exclude-libs,libatomic.a')