From 2b16a9d39dad2ebb981722ea363b41fe1e664d2c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 13 Aug 1995 21:29:58 -0400 Subject: (main): When concat gcc_exec_prefix and standard_startfile_prefix, put machine_suffix in the middle. From-SVN: r10227 --- gcc/gcc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc') 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); } -- cgit v1.1