Skip to content

Commit

Permalink
Link libcompiler_rt-extras.
Browse files Browse the repository at this point in the history
Test: ndk/checkbuild.py && ndk/run_tests.py
Bug: android/ndk#294
Change-Id: I0b73880efb981e5d75c813b01b2bdaa22bcdabe9
(cherry picked from commit faa65d70c87cc59a3e7f540bd44df57413a5308c)
  • Loading branch information
DanAlbert committed Feb 12, 2018
1 parent e832012 commit 684b01c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/libcxx/ndk/test/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ def configure_link_flags(self):
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')

Expand Down

0 comments on commit 684b01c

Please sign in to comment.