aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
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 /gcc/gcc.c
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 5 insertions, 0 deletions
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;