From: Jim Wilson Date: Fri, 24 Dec 1993 00:26:16 +0000 (-0800) Subject: (translate_options): Skip arguments of -B, -b, -V, -x, X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb99c21cfafa28704c637df116f483000b2cb65b;p=platform%2Fupstream%2Fgcc.git (translate_options): Skip arguments of -B, -b, -V, -x, and -Xlinker options. From-SVN: r6289 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 96fe072..c6f2e79 100644 --- 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) {