summaryrefslogtreecommitdiffstats
path: root/package/gcc/gcc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/gcc.mk')
-rw-r--r--package/gcc/gcc.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 67d3343efe..6ee840e3b9 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -173,15 +173,12 @@ else
HOST_GCC_COMMON_CONF_OPTS += --enable-threads
endif
+# gcc 5 doesn't need cloog any more, see
+# https://gcc.gnu.org/gcc-5/changes.html and we don't support graphite
+# on GCC 4.9.x, so only isl is needed.
ifeq ($(BR2_GCC_ENABLE_GRAPHITE),y)
HOST_GCC_COMMON_DEPENDENCIES += host-isl
HOST_GCC_COMMON_CONF_OPTS += --with-isl=$(HOST_DIR)
-# gcc 5 doesn't need cloog any more, see
-# https://gcc.gnu.org/gcc-5/changes.html
-ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),)
-HOST_GCC_COMMON_DEPENDENCIES += host-cloog
-HOST_GCC_COMMON_CONF_OPTS += --with-cloog=$(HOST_DIR)
-endif
else
HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
endif
OpenPOWER on IntegriCloud