summaryrefslogtreecommitdiff
path: root/gcc/opth-gen.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r--gcc/opth-gen.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index d27dfc08764..99b5cff29f9 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -70,8 +70,6 @@ print ""
print "#ifndef OPTIONS_H"
print "#define OPTIONS_H"
print ""
-print "extern int target_flags_explicit;"
-print ""
have_save = 0;
@@ -127,6 +125,8 @@ for (i = 0; i < n_opts; i++) {
print "#ifndef GENERATOR_FILE"
print "};"
print "extern struct gcc_options global_options;"
+print "extern struct gcc_options global_options_set;"
+print "#define target_flags_explicit global_options_set.x_target_flags"
print "#endif"
print ""