aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-23 21:04:29 +0000
committerRichard Stallman <rms@gnu.org>1992-05-23 21:04:29 +0000
commit607a4f7de314bad1860911ff90e7a159f4f8f6c4 (patch)
tree931a4cb79c02f86e30db00992fbe42a6ad493d23
parentf518860803f82cc5e4f6d038e434a7acd89634c3 (diff)
downloadgcc-607a4f7de314bad1860911ff90e7a159f4f8f6c4.zip
gcc-607a4f7de314bad1860911ff90e7a159f4f8f6c4.tar.gz
gcc-607a4f7de314bad1860911ff90e7a159f4f8f6c4.tar.bz2
*** empty log message ***
From-SVN: r1065
-rw-r--r--gcc/gcc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index aeab0fa..a7a2e41 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -839,6 +839,7 @@ static char *gcc_exec_prefix;
#ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
+#undef MD_STARTFILE_PREFIX_1
#endif
#ifndef STANDARD_EXEC_PREFIX
@@ -858,6 +859,9 @@ static char *md_exec_prefix = MD_EXEC_PREFIX;
#ifdef MD_STARTFILE_PREFIX
static char *md_startfile_prefix = MD_STARTFILE_PREFIX;
#endif
+#ifdef MD_STARTFILE_PREFIX_1
+static char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
+#endif
static char *standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
static char *standard_startfile_prefix_1 = "/lib/";
static char *standard_startfile_prefix_2 = "/usr/lib/";
@@ -3061,6 +3065,10 @@ main (argc, argv)
add_prefix (&startfile_prefix, md_startfile_prefix, 0, 0, 0);
#endif
+#ifdef MD_STARTFILE_PREFIX_1
+ add_prefix (&startfile_prefix, md_startfile_prefix_1, 0, 0, 0);
+#endif
+
add_prefix (&startfile_prefix, standard_startfile_prefix, 0, 0, 0);
add_prefix (&startfile_prefix, standard_startfile_prefix_1, 0, 0, 0);
add_prefix (&startfile_prefix, standard_startfile_prefix_2, 0, 0, 0);