aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-06-16 04:21:17 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-06-16 13:51:17 +0930
commit0797741a00d56380200514247ef171150af8c203 (patch)
tree486ab71fc922a6cc411fe1f433f7c3942e3f51a2 /gcc/gcc.c
parenta6e2e53e83aa485a9f6aa88c46cd0455012dfec9 (diff)
downloadgcc-0797741a00d56380200514247ef171150af8c203.zip
gcc-0797741a00d56380200514247ef171150af8c203.tar.gz
gcc-0797741a00d56380200514247ef171150af8c203.tar.bz2
* gcc.c (main): Correct startfile_prefix_spec check.
From-SVN: r54659
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
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)
{