Skip to content

Commit

Permalink
gcc: set the isl/cloog prefix when graphite is enabled, disable it ex…
Browse files Browse the repository at this point in the history
…plicitly if it is disabled in the config

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47465 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
Felix Fietkau committed Nov 13, 2015
1 parent 0b2c82f commit e6a8125
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions toolchain/gcc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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), \
Expand Down

0 comments on commit e6a8125

Please sign in to comment.