Commit 8c124730 by Devang Patel

Remove extra bits I included, by mistake, in my previous check-in

for PR/9394 fix.

From-SVN: r64156
parent 3c6a9be3
...@@ -3142,11 +3142,8 @@ process_command (argc, argv) ...@@ -3142,11 +3142,8 @@ process_command (argc, argv)
/* If there is a -V or -b option (or both), process it now, before /* If there is a -V or -b option (or both), process it now, before
trying to interpret the rest of the command line. */ trying to interpret the rest of the command line. */
/* Use heuristic that all configuration names must have at least one dash '-'.
This allows to pass options that start with -b. */
if (argc > 1 && argv[1][0] == '-' if (argc > 1 && argv[1][0] == '-'
&& (argv[1][1] == 'V' && (argv[1][1] == 'V' || argv[1][1] == 'b'))
|| (argv[1][1] == 'b' && strchr (argv[1] + 2, '-') != NULL)))
{ {
const char *new_version = DEFAULT_TARGET_VERSION; const char *new_version = DEFAULT_TARGET_VERSION;
const char *new_machine = DEFAULT_TARGET_MACHINE; const char *new_machine = DEFAULT_TARGET_MACHINE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment