mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-12-12 14:17:09 +00:00
Fix linking pthread in tests on FreeBSD
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@227240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7dcd3a3e1
commit
e1a6c17251
@ -444,7 +444,7 @@ class Configuration(object):
|
||||
else:
|
||||
self.cxx.link_flags += ['-lgcc_s']
|
||||
elif sys.platform.startswith('freebsd'):
|
||||
self.cxx.link_flags += ['-lc', '-lm', '-pthread', '-lgcc_s']
|
||||
self.cxx.link_flags += ['-lc', '-lm', '-lpthread', '-lgcc_s']
|
||||
else:
|
||||
self.lit_config.fatal("unrecognized system: %r" % sys.platform)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user