From cf3682887836487a5954e5e5845543e44d93afd0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 8 Nov 2013 15:18:09 +0100 Subject: cc/gcc: Add support for golang Signed-off-by: Richard Weinberger Message-Id: Signed-off-by: "Yann E. MORIN" --- config/cc.in | 14 ++++++++++++++ config/cc/gcc.in | 1 + 2 files changed, 15 insertions(+) (limited to 'config') diff --git a/config/cc.in b/config/cc.in index d244e99f..ff697270 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 9b68ac5b..9eb7bcee 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 -- cgit v1.2.3