summaryrefslogtreecommitdiff
path: root/lang/gcc27/files/patch-toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc27/files/patch-toplev.c')
-rw-r--r--lang/gcc27/files/patch-toplev.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/gcc27/files/patch-toplev.c b/lang/gcc27/files/patch-toplev.c
new file mode 100644
index 000000000000..66f6449fd5b1
--- /dev/null
+++ b/lang/gcc27/files/patch-toplev.c
@@ -0,0 +1,21 @@
+--- toplev.c.orig Fri Oct 20 14:56:35 1995
++++ toplev.c Mon Mar 20 13:29:12 2000
+@@ -521,6 +521,10 @@
+ /* Tag all structures with __attribute__(packed) */
+ int flag_pack_struct = 0;
+
++/* Nonzero means that -Wformat accepts certain system-dependent formats. */
++
++int flag_format_extensions = 0;
++
+ /* Table of language-independent -f options.
+ STRING is the option name. VARIABLE is the address of the variable.
+ ON_VALUE is the value to store in VARIABLE
+@@ -567,6 +571,7 @@
+ {"verbose-asm", &flag_verbose_asm, 1},
+ {"gnu-linker", &flag_gnu_linker, 1},
+ {"pack-struct", &flag_pack_struct, 1},
++ {"format-extensions", &flag_format_extensions, 1},
+ {"bytecode", &output_bytecode, 1}
+ };
+