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 <nbd@openwrt.org> SVN-Revision: 47465
This commit is contained in:
parent
3d41dbae65
commit
9d6a9b6f51
1 changed files with 10 additions and 0 deletions
|
@ -108,6 +108,16 @@ ifdef CONFIG_USE_UCLIBC
|
||||||
export glibcxx_cv_c99_math_tr1=no
|
export glibcxx_cv_c99_math_tr1=no
|
||||||
endif
|
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:= \
|
GCC_CONFIGURE:= \
|
||||||
SHELL="$(BASH)" \
|
SHELL="$(BASH)" \
|
||||||
$(if $(shell gcc --version 2>&1 | grep LLVM), \
|
$(if $(shell gcc --version 2>&1 | grep LLVM), \
|
||||||
|
|
Loading…
Reference in a new issue