From: Reid Spencer Date: Wed, 15 Dec 2004 22:21:42 +0000 (+0000) Subject: Remove automatic insertion of CFE's lib directory into the bytecode path X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=835b6941fdeb4caf1a00dbb25df8a71c3431b115;p=oota-llvm.git Remove automatic insertion of CFE's lib directory into the bytecode path because LLVM should be agnostic to the needs of specific front ends. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18968 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Unix/Path.cpp b/lib/System/Unix/Path.cpp index 84c2d2d23d5..4a18c6b3f0a 100644 --- a/lib/System/Unix/Path.cpp +++ b/lib/System/Unix/Path.cpp @@ -85,13 +85,6 @@ Path::GetBytecodeLibraryPaths(std::vector& 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; diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 84c2d2d23d5..4a18c6b3f0a 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -85,13 +85,6 @@ Path::GetBytecodeLibraryPaths(std::vector& 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;