summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/gcc/c-opts.c5
-rw-r--r--contrib/gcc/c.opt6
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.
OpenPOWER on IntegriCloud