summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index b5421179fd2..b26aaf31485 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -1535,12 +1535,7 @@ main (int argc, char **argv)
case 'o':
if (arg[2] == '\0')
output_file = *ld1++ = *ld2++ = *++argv;
- else if (1
-#ifdef SWITCHES_NEED_SPACES
- && ! strchr (SWITCHES_NEED_SPACES, arg[1])
-#endif
- )
-
+ else
output_file = &arg[2];
break;