summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Path.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-15 22:21:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-15 22:21:42 +0000
commit879f11df3decdb172f3767305083dad52f5a1572 (patch)
treed7271977a9dbd8eef7ad3b2f979409c22c7ff5ad /llvm/lib/System/Unix/Path.cpp
parent8240a916db44cde969ea68c1b03dd9825a050967 (diff)
downloadbcm5719-llvm-879f11df3decdb172f3767305083dad52f5a1572.tar.gz
bcm5719-llvm-879f11df3decdb172f3767305083dad52f5a1572.zip
Remove automatic insertion of CFE's lib directory into the bytecode path
because LLVM should be agnostic to the needs of specific front ends. llvm-svn: 18968
Diffstat (limited to 'llvm/lib/System/Unix/Path.cpp')
-rw-r--r--llvm/lib/System/Unix/Path.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/System/Unix/Path.cpp b/llvm/lib/System/Unix/Path.cpp
index 84c2d2d23d5..4a18c6b3f0a 100644
--- a/llvm/lib/System/Unix/Path.cpp
+++ b/llvm/lib/System/Unix/Path.cpp
@@ -85,13 +85,6 @@ Path::GetBytecodeLibraryPaths(std::vector<sys::Path>& Paths) {
if (env_var != 0) {
getPathList(env_var,Paths);
}
-#ifdef LLVMGCCDIR
- {
- Path tmpPath(std::string(LLVMGCCDIR) + "lib/");
- if (tmpPath.readable())
- Paths.push_back(tmpPath);
- }
-#endif
#ifdef LLVM_LIBDIR
{
Path tmpPath;
OpenPOWER on IntegriCloud