aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2011-02-12 10:08:24 +0000
committerIain Sandoe <iains@gcc.gnu.org>2011-02-12 10:08:24 +0000
commita350a6c8f7e412c0be3b9da2c7a69d7ca5e8a605 (patch)
tree84ba8076a9a8aa0c91f83d1a89269e47d3547a56
parentbab79a4029b048481930d6df1c0048d7e9fcd937 (diff)
downloadgcc-a350a6c8f7e412c0be3b9da2c7a69d7ca5e8a605.zip
gcc-a350a6c8f7e412c0be3b9da2c7a69d7ca5e8a605.tar.gz
gcc-a350a6c8f7e412c0be3b9da2c7a69d7ca5e8a605.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92d69c6b..294ad13 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index ec35ed0..c31dafc 100644
--- 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;