[libcxx] r227240 - Fix linking pthread in tests on FreeBSD

Eric Fiselier eric at efcs.ca
Tue Jan 27 12:43:53 PST 2015


Author: ericwf
Date: Tue Jan 27 14:43:53 2015
New Revision: 227240

URL: http://llvm.org/viewvc/llvm-project?rev=227240&view=rev
Log:
Fix linking pthread in tests on FreeBSD

Modified:
    libcxx/trunk/test/libcxx/test/config.py

Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=227240&r1=227239&r2=227240&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Tue Jan 27 14:43:53 2015
@@ -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)
 





More information about the cfe-commits mailing list