mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-12 09:15:54 +00:00
22 lines
955 B
Diff
22 lines
955 B
Diff
Index: llvm-toolchain-snapshot_3.4~svn184290/clang/lib/Driver/Tools.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn184290.orig/clang/lib/Driver/Tools.cpp 2013-06-19 11:13:56.794779535 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn184290/clang/lib/Driver/Tools.cpp 2013-06-19 11:13:56.790779531 +0200
|
|
@@ -34,6 +34,7 @@
|
|
#include "llvm/Support/PathV1.h"
|
|
#include "llvm/Support/Process.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
+#include "llvm/Config/config.h"
|
|
#include <sys/stat.h>
|
|
|
|
using namespace clang::driver;
|
|
@@ -219,7 +220,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));
|
|
}
|