summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-21 01:00:21 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-21 01:00:21 +0000
commit6f52bf52570132d0a271a1c5b3990e051e6c5be3 (patch)
tree498216853543e58b88f682ae6ad8d26f08763c7e
parentf2ebd1f373d744281f87182433d1987821b7defb (diff)
downloadgcc-6f52bf52570132d0a271a1c5b3990e051e6c5be3.tar.gz
Use GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too. My goof, not Felix's.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22513 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/gcc.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3fe81519ed5..67d4f53eeb3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -2,7 +2,6 @@ Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
* c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
* cccp.c (main): Likewise.
- * gcc.c (process_command): Similarly for "GCC_EXEC_PREFIX".
* cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
diff --git a/gcc/gcc.c b/gcc/gcc.c
index e5ba9cdd5f8..28ff322442a 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2563,7 +2563,7 @@ process_command (argc, argv)
int have_o = 0;
int lang_n_infiles = 0;
- gcc_exec_prefix = getenv ("GCC_EXEC_PREFIX");
+ GET_ENV_PATH_LIST (gcc_exec_prefix, "GCC_EXEC_PREFIX");
n_switches = 0;
n_infiles = 0;