summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-16 04:21:17 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-16 04:21:17 +0000
commit6ec5ffc04a5066ef89a7fc1b8c1c3dd4e011d287 (patch)
tree486ab71fc922a6cc411fe1f433f7c3942e3f51a2 /gcc/gcc.c
parent07d8dd5063ee8045421e84ea8471c58d9b259e3e (diff)
downloadgcc-6ec5ffc04a5066ef89a7fc1b8c1c3dd4e011d287.tar.gz
* 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
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 c5f02d6040b..292b061ef36 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)
{