From: Mike Stump Date: Sat, 31 Oct 2009 20:11:46 +0000 (+0000) Subject: Fix -pthread on dragonfly. Patch by Sascha Wildner. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d63f8bc2686d5d7580324407854f2ca7c128832;p=clang 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 b29265b1a4..47234ef649 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -2710,7 +2710,7 @@ void dragonfly::Link::ConstructJob(Compilation &C, const JobAction &JA, 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");