summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cc/gcc.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 7894ec9..101f2b2 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -71,6 +71,10 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config CC_GCC_V_6_1_0
+ bool
+ prompt "6.1.0"
+ select CC_GCC_6
config CC_GCC_V_5_4_0
bool
@@ -162,10 +166,27 @@ config CC_GCC_5_or_later
bool
select CC_GCC_4_9_or_later
+config CC_GCC_6
+ bool
+ select CC_GCC_6_or_later
+ select CC_GCC_USE_GMP_MPFR
+ select CC_GCC_USE_MPC
+ select CC_GCC_HAS_GRAPHITE
+ select CC_GCC_HAS_LTO
+ select CC_GCC_HAS_PKGVERSION_BUGURL
+ select CC_GCC_HAS_BUILD_ID
+ select CC_GCC_HAS_LNK_HASH_STYLE
+ select CC_GCC_HAS_LIBQUADMATH
+ select CC_GCC_HAS_LIBSANITIZER
+ select CC_SUPPORT_GOLANG
+
+config CC_GCC_6_or_later
+ bool
+ select CC_GCC_5_or_later
config CC_GCC_latest
bool
- select CC_GCC_5_or_later
+ select CC_GCC_6_or_later
select CC_GCC_USE_GMP_MPFR
select CC_GCC_USE_MPC
select CC_GCC_HAS_GRAPHITE
@@ -261,6 +282,7 @@ config CC_GCC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "6.1.0" if CC_GCC_V_6_1_0
default "5.4.0" if CC_GCC_V_5_4_0
default "linaro-5.2-2015.11-2" if CC_GCC_V_linaro_5_2
default "linaro-4.9-2015.06" if CC_GCC_V_linaro_4_9