gcc.c (driver_handle_option): Concatenate the argument to -F with the switch.

gcc:

	* gcc.c (driver_handle_option): Concatenate the argument to -F with
	the switch.

From-SVN: r170068
This commit is contained in:
Iain Sandoe 2011-02-12 10:08:24 +00:00
parent bab79a4029
commit a350a6c8f7
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-02-12 Iain Sandoe <iains@gcc.gnu.org>
* gcc.c (driver_handle_option): Concatenate the argument to -F with
the switch.
2011-02-11 Joseph Myers <joseph@codesourcery.com>
* common.opt (nostartfiles): New Driver option.

View file

@ -3330,6 +3330,11 @@ driver_handle_option (struct gcc_options *opts,
save_switch (concat ("-L", arg, NULL), 0, NULL, validated);
return true;
case OPT_F:
/* Likewise -F. */
save_switch (concat ("-F", arg, NULL), 0, NULL, validated);
return true;
case OPT_save_temps:
save_temps_flag = SAVE_TEMPS_CWD;
validated = true;