commit | 4d63f8bc2686d5d7580324407854f2ca7c128832 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Sat Oct 31 20:11:46 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Sat Oct 31 20:11:46 2009 +0000 |
tree | 8c45c49fd69cb99cde4df5e88bb375bc085d6d0c | |
parent | 6a9612f384deecf078e2e9c5c02a0992a2a1283a [diff] |
Fix -pthread on dragonfly. Patch by Sascha Wildner. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85679 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index b29265b..47234ef 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp
@@ -2710,7 +2710,7 @@ if (Args.hasArg(options::OPT_pthread)) - CmdArgs.push_back("-lthread_xu"); + CmdArgs.push_back("-lpthread"); if (!Args.hasArg(options::OPT_nolibc)) { CmdArgs.push_back("-lc");