mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 14:47:14 +00:00
22 lines
942 B
Diff
22 lines
942 B
Diff
Index: llvm-toolchain_3.3~svn176083/clang/lib/Driver/Tools.cpp
|
|
===================================================================
|
|
--- llvm-toolchain_3.3~svn176083.orig/clang/lib/Driver/Tools.cpp 2013-02-26 14:10:49.000000000 +0100
|
|
+++ llvm-toolchain_3.3~svn176083/clang/lib/Driver/Tools.cpp 2013-02-26 14:11:32.000000000 +0100
|
|
@@ -33,6 +33,7 @@
|
|
#include "llvm/Support/Host.h"
|
|
#include "llvm/Support/Process.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
+#include "llvm/Config/config.h"
|
|
|
|
using namespace clang::driver;
|
|
using namespace clang::driver::tools;
|
|
@@ -216,7 +217,7 @@
|
|
// libprofile_rt.so. We used to use the -l:libprofile_rt.a syntax, but that is
|
|
// not supported by old linkers.
|
|
std::string ProfileRT =
|
|
- std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a";
|
|
+ std::string(TC.getDriver().Dir) + "/../lib/llvm-"+PACKAGE_VERSION+"/lib/libprofile_rt.a";
|
|
|
|
CmdArgs.push_back(Args.MakeArgString(ProfileRT));
|
|
}
|