From: amodra Date: Sun, 16 Jun 2002 04:21:17 +0000 (+0000) Subject: * gcc.c (main): Correct startfile_prefix_spec check. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ec5ffc04a5066ef89a7fc1b8c1c3dd4e011d287;p=thirdparty%2Fgcc.git * gcc.c (main): Correct startfile_prefix_spec check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54659 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba696ab2aea6..875403aa2a6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-16 Alan Modra + + * gcc.c (main): Correct startfile_prefix_spec check. + 2002-06-12 Geoffrey Keating * config.gcc: Revert rth's patch of 2002-05-18. Instead, diff --git a/gcc/gcc.c b/gcc/gcc.c index c5f02d6040b6..292b061ef364 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) {