aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-08-13 21:29:58 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-08-13 21:29:58 -0400
commit2b16a9d39dad2ebb981722ea363b41fe1e664d2c (patch)
treec57095377a610053306018e0c0448fd3f5dd19ed /gcc/gcc.c
parent8c3edecd1bde7c4d2e358b53e662086f919229d4 (diff)
downloadgcc-2b16a9d39dad2ebb981722ea363b41fe1e664d2c.zip
gcc-2b16a9d39dad2ebb981722ea363b41fe1e664d2c.tar.gz
gcc-2b16a9d39dad2ebb981722ea363b41fe1e664d2c.tar.bz2
(main): When concat gcc_exec_prefix and standard_startfile_prefix, put
machine_suffix in the middle. From-SVN: r10227
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 23a588c..db0b6d6 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4338,7 +4338,8 @@ main (argc, argv)
{
if (gcc_exec_prefix)
add_prefix (&startfile_prefixes,
- concat (gcc_exec_prefix, standard_startfile_prefix),
+ concat3 (gcc_exec_prefix, machine_suffix,
+ standard_startfile_prefix),
0, 0, NULL_PTR);
add_prefix (&startfile_prefixes,
concat3 (standard_exec_prefix,
@@ -4359,7 +4360,8 @@ main (argc, argv)
{
if (*standard_startfile_prefix != DIR_SEPARATOR && gcc_exec_prefix)
add_prefix (&startfile_prefixes,
- concat (gcc_exec_prefix, standard_startfile_prefix),
+ concat3 (gcc_exec_prefix, machine_suffix,
+ standard_startfile_prefix),
0, 0, NULL_PTR);
}