X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fcommon.mk;fp=toolchain%2Fgcc%2Fcommon.mk;h=0ac7de19f5c4822e76691589e740783610d5e2bc;hb=aa4420afad90f95850a565aede66ad13e56897e6;hp=5214765d6b228b98a037a9e1d4c42dc3f27bbb2d;hpb=c3d3c1015157d48893f0fa74278544332b5537d5;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 5214765d6b..0ac7de19f5 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -108,6 +108,16 @@ ifdef CONFIG_USE_UCLIBC 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), \