diff options
Diffstat (limited to 'gcc/go/go-lang.c')
-rw-r--r-- | gcc/go/go-lang.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index eba40e4..a01db8d 100644 --- a/gcc/go/go-lang.c +++ b/gcc/go/go-lang.c @@ -89,6 +89,7 @@ static const char *go_pkgpath = NULL; static const char *go_prefix = NULL; static const char *go_relative_import_path = NULL; static const char *go_c_header = NULL; +static const char *go_embedcfg = NULL; /* Language hooks. */ @@ -112,6 +113,7 @@ go_langhook_init (void) args.prefix = go_prefix; args.relative_import_path = go_relative_import_path; args.c_header = go_c_header; + args.embedcfg = go_embedcfg; args.check_divide_by_zero = go_check_divide_zero; args.check_divide_overflow = go_check_divide_overflow; args.compiling_runtime = go_compiling_runtime; @@ -282,6 +284,10 @@ go_langhook_handle_option ( go_c_header = arg; break; + case OPT_fgo_embedcfg_: + go_embedcfg = arg; + break; + default: /* Just return 1 to indicate that the option is valid. */ break; |