summaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-01 20:01:47 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-01 20:01:47 +0000
commit78d47ccfd5a735112e2fc7cdbc7bf809495fc811 (patch)
tree7d1685b0396f6bb6db8d937b559b3e51b230f2c8 /gcc/tlink.c
parent46436ba2f24b9cfa426eeb33ce4f2b3b008e61a2 (diff)
downloadgcc-78d47ccfd5a735112e2fc7cdbc7bf809495fc811.tar.gz
* tlink.c (recompile_files): Remove COMPILER_PATH and
LIBRARY_PATH from the environment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43677 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 8b8ca0c4698..606707dd28f 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;