summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cc.in14
-rw-r--r--config/cc/gcc.in1
2 files changed, 15 insertions, 0 deletions
diff --git a/config/cc.in b/config/cc.in
index d244e99..ff69727 100644
--- a/config/cc.in
+++ b/config/cc.in
@@ -31,6 +31,9 @@ config CC_SUPPORT_OBJC
config CC_SUPPORT_OBJCXX
bool
+config CC_SUPPORT_GOLANG
+ bool
+
comment "Additional supported languages:"
config CC_LANG_CXX
@@ -98,6 +101,17 @@ config CC_LANG_OBJCXX
Only select this if you know that your specific version of the
compiler supports this language.
+config CC_LANG_GOLANG
+ bool
+ prompt "Go (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
+ depends on CC_SUPPORT_GOLANG
+ help
+ Enable building a Go compiler.
+
+ Only select this if you know that your specific version of the
+ compiler supports this language.
+
config CC_LANG_OTHERS
string
prompt "Other languages (EXPERIMENTAL)"
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 9b68ac5..9eb7bce 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -343,6 +343,7 @@ config CC_GCC_4_8
select CC_GCC_HAS_BUILD_ID
select CC_GCC_HAS_LNK_HASH_STYLE
select CC_GCC_HAS_LIBQUADMATH
+ select CC_SUPPORT_GOLANG
config CC_GCC_4_8_or_later
bool