Author: nbd
Date: 2015-11-13 12:35:41 +0100 (Fri, 13 Nov 2015)
New Revision: 47465

Modified:
   trunk/toolchain/gcc/common.mk
Log:
gcc: set the isl/cloog prefix when graphite is enabled, disable it explicitly 
if it is disabled in the config

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/toolchain/gcc/common.mk
===================================================================
--- trunk/toolchain/gcc/common.mk       2015-11-13 11:35:37 UTC (rev 47464)
+++ trunk/toolchain/gcc/common.mk       2015-11-13 11:35:41 UTC (rev 47465)
@@ -108,6 +108,16 @@
   export glibcxx_cv_c99_math_tr1=no
 endif
 
+ifdef CONFIG_GCC_USE_GRAPHITE
+  ifdef CONFIG_GCC_VERSION_4_8
+    GRAPHITE_CONFIGURE=--with-cloog=$(REAL_STAGING_DIR_HOST)
+  else
+    GRAPHITE_CONFIGURE=--with-isl=$(REAL_STAGING_DIR_HOST)
+  endif
+else
+  GRAPHITE_CONFIGURE=--without-isl --without-cloog
+endif
+
 GCC_CONFIGURE:= \
        SHELL="$(BASH)" \
        $(if $(shell gcc --version 2>&1 | grep LLVM), \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to