forked from OSchip/llvm-project
Fix -pthread on dragonfly. Patch by Sascha Wildner.
llvm-svn: 85679
This commit is contained in:
parent
b2c0e243c5
commit
0a65b636ce
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue