OSDN Git Service

Remove automatic insertion of CFE's lib directory into the bytecode path
authorReid Spencer <rspencer@reidspencer.com>
Wed, 15 Dec 2004 22:21:42 +0000 (22:21 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 15 Dec 2004 22:21:42 +0000 (22:21 +0000)
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

lib/System/Unix/Path.cpp
lib/System/Unix/Path.inc

index 84c2d2d..4a18c6b 100644 (file)
@@ -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;
index 84c2d2d..4a18c6b 100644 (file)
@@ -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;