diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-12 10:08:24 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-12 10:08:24 +0000 |
commit | accf455652eea617234968674b300675e640913b (patch) | |
tree | 84ba8076a9a8aa0c91f83d1a89269e47d3547a56 | |
parent | 286f96fe5db4b2244785ffbd8b5a9f44ff458f6f (diff) | |
download | gcc-accf455652eea617234968674b300675e640913b.tar.gz |
gcc:
* gcc.c (driver_handle_option): Concatenate the argument to -F with
the switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170068 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92d69c6b120..294ad1349f1 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 ec35ed01f6d..c31dafc088e 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; |