summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-14 16:51:28 (GMT)
committerGitHub <noreply@github.com>2017-05-14 16:51:28 (GMT)
commitef762bfe8e1ec9063d645b1745dc8843997b7767 (patch)
treeb0a2fecc4e9b70316b134cb6202644824599f08f /config
parent968b6918a2e00134077a2603f33451cfa617f44d (diff)
parent842915db44b2a41486dc5ea0212ddfc19093fe32 (diff)
Merge pull request #716 from stilor/gcc7
Add GCC 7.1.0
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in22
1 files changed, 17 insertions, 5 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index caf254c..bc11b17 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -3,7 +3,7 @@
## default y
## select CC_SUPPORT_CXX if !LIBC_none
## select CC_SUPPORT_FORTRAN
-## select CC_SUPPORT_JAVA
+## select CC_SUPPORT_JAVA if !CC_GCC_6_or_later
## select CC_SUPPORT_ADA
## select CC_SUPPORT_OBJC
## select CC_SUPPORT_OBJCXX
@@ -73,6 +73,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config CC_GCC_V_7_1_0
+ bool
+ prompt "7.1.0"
+ select CC_GCC_7
+
config CC_GCC_V_linaro_6_3
bool
prompt "linaro-6.3-2017.02"
@@ -141,25 +146,31 @@ config CC_GCC_4_9_or_later
config CC_GCC_5
bool
select CC_GCC_5_or_later
- select CC_GCC_HAS_LIBMPX
config CC_GCC_5_or_later
bool
select CC_GCC_4_9_or_later
+ select CC_GCC_HAS_LIBMPX
config CC_GCC_6
bool
select CC_GCC_6_or_later
- select CC_GCC_HAS_LIBMPX
config CC_GCC_6_or_later
bool
select CC_GCC_5_or_later
-config CC_GCC_latest
+config CC_GCC_7
+ bool
+ select CC_GCC_7_or_later
+
+config CC_GCC_7_or_later
bool
select CC_GCC_6_or_later
- select CC_GCC_HAS_LIBMPX
+
+config CC_GCC_latest
+ bool
+ select CC_GCC_7_or_later
# Only enable gcc's support for plugins if binutils has it as well
# They are useful only when doing LTO, but it does no harm enabling
@@ -185,6 +196,7 @@ config CC_GCC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "7.1.0" if CC_GCC_V_7_1_0
default "linaro-6.3-2017.02" if CC_GCC_V_linaro_6_3
default "6.3.0" if CC_GCC_V_6_3_0
default "linaro-5.4-2017.01" if CC_GCC_V_linaro_5_4