(main): When concat gcc_exec_prefix and standard_startfile_prefix, put
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 14 Aug 1995 01:29:58 +0000 (21:29 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 14 Aug 1995 01:29:58 +0000 (21:29 -0400)
machine_suffix in the middle.

From-SVN: r10227

gcc/gcc.c

index 23a588c..db0b6d6 100644 (file)
--- 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);
     }