aboutsummaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 4a669b4..78840ca 100644
--- a/gcc/tlink.c
+++ b/gcc/tlink.c
@@ -495,8 +495,8 @@ recompile_files ()
{
file *f;
- putenv ("COMPILER_PATH");
- putenv ("LIBRARY_PATH");
+ putenv (xstrdup ("COMPILER_PATH"));
+ putenv (xstrdup ("LIBRARY_PATH"));
while ((f = file_pop ()) != NULL)
{