summaryrefslogtreecommitdiff
path: root/lib/System/Unix
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
commit835b6941fdeb4caf1a00dbb25df8a71c3431b115 (patch)
treeaadd4c429ff25e3df5aa198869228ddb70d3c67a /lib/System/Unix
parentb4ed7b0f809a4023a0e9f80f4530d59d357dc5ef (diff)
downloadllvm-835b6941fdeb4caf1a00dbb25df8a71c3431b115.tar.gz
llvm-835b6941fdeb4caf1a00dbb25df8a71c3431b115.tar.bz2
llvm-835b6941fdeb4caf1a00dbb25df8a71c3431b115.tar.xz
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
Diffstat (limited to 'lib/System/Unix')
-rw-r--r--lib/System/Unix/Path.cpp7
-rw-r--r--lib/System/Unix/Path.inc7
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/System/Unix/Path.cpp b/lib/System/Unix/Path.cpp
index 84c2d2d23d..4a18c6b3f0 100644
--- a/lib/System/Unix/Path.cpp
+++ b/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;
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc
index 84c2d2d23d..4a18c6b3f0 100644
--- a/lib/System/Unix/Path.inc
+++ b/lib/System/Unix/Path.inc
@@ -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;