projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6642da
)
(translate_options): Skip arguments of -B, -b, -V, -x,
author
Jim Wilson
<wilson@gcc.gnu.org>
Fri, 24 Dec 1993 00:26:16 +0000
(16:26 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Fri, 24 Dec 1993 00:26:16 +0000
(16:26 -0800)
and -Xlinker options.
From-SVN: r6289
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index 96fe0723b63f2981984290fb2d674ebfd1638050..c6f2e79ea5aeb496c9da04db1a32eb40f626516f 100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-844,6
+844,11
@@
translate_options (argcp, argvp)
nskip += SWITCH_TAKES_ARG (c) - (p[1] != 0);
else if (WORD_SWITCH_TAKES_ARG (p))
nskip += WORD_SWITCH_TAKES_ARG (p);
+ else if ((c == 'B' || c == 'b' || c == 'V' || c == 'x')
+ && p[1] == 0)
+ nskip += 1;
+ else if (! strcmp (p, "Xlinker"))
+ nskip += 1;
while (nskip > 0)
{