Fix linking pthread in tests on FreeBSD

llvm-svn: 227240
This commit is contained in:
Eric Fiselier 2015-01-27 20:43:53 +00:00
parent 28886c3e21
commit 9e2b7639df
1 changed files with 1 additions and 1 deletions

View File

@ -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)