gcc.c (driver_handle_option): Concatenate the argument to -F with the switch.
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Feb 2011 10:08:24 +0000 (10:08 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Feb 2011 10:08:24 +0000 (10:08 +0000)
gcc:

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

From-SVN: r170068

gcc/ChangeLog
gcc/gcc.c

index 92d69c6b12096df5dcfb5387b35e13a8960afa54..294ad1349f16eb9acbfbbc605fa7112c2b833c02 100644 (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.
index ec35ed01f6dcffb3115256a469827a8ae7844eab..c31dafc088e6a85ea62da346a8c0d30d3342ecc5 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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;