From 206c50d39399b1c5bdae5fd5f7414938e67156b5 Mon Sep 17 00:00:00 2001 From: kan Date: Thu, 29 Jul 2004 02:04:58 +0000 Subject: Allow GCC to recognize -fformat-extensions flag. --- contrib/gcc/c-opts.c | 5 +++++ contrib/gcc/c.opt | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'contrib') diff --git a/contrib/gcc/c-opts.c b/contrib/gcc/c-opts.c index 93637a2..9977f3a 100644 --- a/contrib/gcc/c-opts.c +++ b/contrib/gcc/c-opts.c @@ -19,6 +19,8 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "config.h" #include "system.h" #include "coretypes.h" @@ -1043,6 +1045,9 @@ c_common_handle_option (size_t scode, const char *arg, int value) case OPT_v: verbose = true; break; + + case OPT_fformat_extensions: + break; } return result; diff --git a/contrib/gcc/c.opt b/contrib/gcc/c.opt index 2a2ff85..5343289 100644 --- a/contrib/gcc/c.opt +++ b/contrib/gcc/c.opt @@ -59,6 +59,8 @@ ; Please try to keep this file in ASCII collating order. +; $FreeBSD$ + Language C @@ -822,4 +824,8 @@ w C ObjC C++ ObjC++ ; Documented in common.opt +fformat-extensions +C ObjC C++ ObjC++ +Enable FreeBSD format extensions + ; This comment is to ensure we retain the blank line above. -- cgit v1.1