summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-12 06:16:40 (GMT)
committerAlexey Neyman <stilor@att.net>2017-05-12 06:16:40 (GMT)
commit2d658b851e674b7b3a996dd421379c2910407e36 (patch)
tree972d4a749c36f18afac0200ac6093e5e078c26e9 /config/cc/gcc.in
parent129e6d3fd13fa158a95685f9fae683ef89f9462a (diff)
Add GCC 7.1.0
Removed patches either picked up upstream, or no longer applicable (boehm-gc no longer part of GCC). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/cc/gcc.in')
-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