From a350a6c8f7e412c0be3b9da2c7a69d7ca5e8a605 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 12 Feb 2011 10:08:24 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/gcc.c | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * gcc.c (driver_handle_option): Concatenate the argument to -F with + the switch. + 2011-02-11 Joseph Myers * 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; -- 2.11.4.GIT