aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ba696ab..875403a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-16 Alan Modra <amodra@bigpond.net.au>
+
+ * gcc.c (main): Correct startfile_prefix_spec check.
+
2002-06-12 Geoffrey Keating <geoffk@redhat.com>
* config.gcc: Revert rth's patch of 2002-05-18. Instead,
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c5f02d6..292b061 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5910,7 +5910,7 @@ main (argc, argv)
/* If not cross-compiling, look for startfiles in the standard places.
Similarly, don't add the standard prefixes if startfile handling
will be under control of startfile_prefix_spec. */
- if (*cross_compile == '0' || *startfile_prefix_spec == 0)
+ if (*cross_compile == '0' && *startfile_prefix_spec == 0)
{
if (*md_exec_prefix)
{