Commit 0797741a by Alan Modra Committed by Alan Modra

* gcc.c (main): Correct startfile_prefix_spec check.

From-SVN: r54659
parent a6e2e53e
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> 2002-06-12 Geoffrey Keating <geoffk@redhat.com>
* config.gcc: Revert rth's patch of 2002-05-18. Instead, * config.gcc: Revert rth's patch of 2002-05-18. Instead,
......
...@@ -5910,7 +5910,7 @@ main (argc, argv) ...@@ -5910,7 +5910,7 @@ main (argc, argv)
/* If not cross-compiling, look for startfiles in the standard places. /* If not cross-compiling, look for startfiles in the standard places.
Similarly, don't add the standard prefixes if startfile handling Similarly, don't add the standard prefixes if startfile handling
will be under control of startfile_prefix_spec. */ 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) if (*md_exec_prefix)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment