summaryrefslogtreecommitdiff
path: root/gcc/optc-gen.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r--gcc/optc-gen.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk
index bad055f0989..643ad159a99 100644
--- a/gcc/optc-gen.awk
+++ b/gcc/optc-gen.awk
@@ -76,9 +76,7 @@ for (i = 1; i <= n_headers; i++)
print "#include " quote "opts.h" quote
print "#include " quote "intl.h" quote
print ""
-print "#ifdef GCC_DRIVER"
-print "int target_flags_explicit;"
-print "#else"
+print "#ifndef GCC_DRIVER"
print "#include " quote "flags.h" quote
print "#include " quote "target.h" quote
print "#endif /* GCC_DRIVER */"
@@ -140,6 +138,8 @@ for (i = 0; i < n_opts; i++) {
}
print "};"
print ""
+print "struct gcc_options global_options_set;"
+print ""
print "const char * const lang_names[] =\n{"
for (i = 0; i < n_langs; i++) {