diff options
author | kan <kan@FreeBSD.org> | 2004-07-29 02:04:58 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-29 02:04:58 +0000 |
commit | 206c50d39399b1c5bdae5fd5f7414938e67156b5 (patch) | |
tree | 822b74e8fe753cda179b82f8b0ecf54227bb0c9b /contrib | |
parent | 76938a59f7af08376085ceca947e2b3c632b0eab (diff) | |
download | FreeBSD-src-206c50d39399b1c5bdae5fd5f7414938e67156b5.zip FreeBSD-src-206c50d39399b1c5bdae5fd5f7414938e67156b5.tar.gz |
Allow GCC to recognize -fformat-extensions flag.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/c-opts.c | 5 | ||||
-rw-r--r-- | contrib/gcc/c.opt | 6 |
2 files changed, 11 insertions, 0 deletions
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. |