diff options
author | hasso <hasso> | 2009-11-25 12:32:30 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-11-25 12:32:30 +0000 |
commit | 38555d98234e9eab875fdee7d9387df6e58631ae (patch) | |
tree | 886bb6449dfe234de9a315172c5ad7557c73d23a /lang/clang/patches | |
parent | d1be5589964cda8fa3be501a8a9bbec27bc4f1ab (diff) | |
download | pkgsrc-38555d98234e9eab875fdee7d9387df6e58631ae.tar.gz |
Make 'clang -pthread' work on recent DragonFly versions. The patch from
upstream svn trunk. Bump PKGREVISION.
Diffstat (limited to 'lang/clang/patches')
-rw-r--r-- | lang/clang/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/clang/patches/patch-aa b/lang/clang/patches/patch-aa new file mode 100644 index 00000000000..d7395e782d6 --- /dev/null +++ b/lang/clang/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2009/11/25 12:32:30 hasso Exp $ + +--- tools/clang/lib/Driver/Tools.cpp.orig 2009-11-25 12:21:45 +0200 ++++ tools/clang/lib/Driver/Tools.cpp 2009-11-25 12:22:09 +0200 +@@ -2326,7 +2326,7 @@ void dragonfly::Link::ConstructJob(Compi + + + 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"); |