]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c (main): Correct startfile_prefix_spec check.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2002 04:21:17 +0000 (04:21 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2002 04:21:17 +0000 (04:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54659 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index ba696ab2aea657361a4eb9f95f503f63daea6a6f..875403aa2a6e17daa7a2d531a17d5cc783ef7c9e 100644 (file)
@@ -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,
index c5f02d6040b64a691e7da5fa8f2429e50a19bea6..292b061ef364469bf0cb3f73cce77b868224b318 100644 (file)
--- 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)
        {