summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cc/gcc.in28
-rw-r--r--config/companion_libs/isl.in1
2 files changed, 27 insertions, 2 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index a60444e..a91e143 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -36,6 +36,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config CC_V_5_1
+ bool
+ prompt "5.1.0"
+ select CC_GCC_5_1
+
config CC_V_linaro_4_9
bool
prompt "linaro-4.9-2015.03"
@@ -409,9 +414,27 @@ config CC_GCC_4_9_or_later
bool
select CC_GCC_4_8_or_later
-config CC_GCC_latest
+config CC_GCC_5_1
+ bool
+ select CC_GCC_5_1_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_5_1_or_later
bool
select CC_GCC_4_9_or_later
+
+config CC_GCC_latest
+ bool
+ select CC_GCC_5_1_or_later
select CC_GCC_USE_GMP_MPFR
select CC_GCC_USE_MPC
select CC_GCC_HAS_GRAPHITE
@@ -431,7 +454,7 @@ config CC_GCC_USE_GRAPHITE
bool
default y
depends on CC_GCC_HAS_GRAPHITE
- select CLOOG_NEEDED
+ select CLOOG_NEEDED if !CC_GCC_5_1_or_later
select PPL_NEEDED if !CC_GCC_4_8_or_later
select ISL_NEEDED if CC_GCC_4_8_or_later
help
@@ -508,6 +531,7 @@ config CC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "5.1.0" if CC_V_5_1
default "linaro-4.9-2015.03" if CC_V_linaro_4_9
default "4.9.2" if CC_V_4_9_2
default "4.9.1" if CC_V_4_9_1
diff --git a/config/companion_libs/isl.in b/config/companion_libs/isl.in
index 92e659b..93babe7 100644
--- a/config/companion_libs/isl.in
+++ b/config/companion_libs/isl.in
@@ -17,6 +17,7 @@ config ISL_V_0_12_2
config ISL_V_0_11_1
bool
prompt "0.11.1"
+ depends on ! CC_GCC_5_1_or_later
endchoice