aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tlink.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6077e45..0e45f90 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * tlink.c (recompile_files): Remove COMPILER_PATH and
+ LIBRARY_PATH from the environment.
+
2001-07-01 Zack Weinberg <zackw@stanford.edu>
* c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 8b8ca0c..606707d 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -495,6 +495,9 @@ recompile_files ()
{
file *f;
+ putenv ("COMPILER_PATH");
+ putenv ("LIBRARY_PATH");
+
while ((f = file_pop ()) != NULL)
{
char *line, *command;