mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 11:17:00 +00:00
gcc: CLooG should be optional for configure
Because >= gcc-5.x does not require cloog, it should not be forced on the command line arguments for configure if graphite is enabled. Make CLooG optionally added, if it is needed (aka: <= gcc-4.9). Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
0e0ecc8bcf
commit
8b40ab0d6e
@ -318,7 +318,9 @@ do_gcc_core_backend() {
|
||||
if [ "${CT_ISL}" = "y" ]; then
|
||||
extra_config+=("--with-isl=${complibs}")
|
||||
fi
|
||||
extra_config+=("--with-cloog=${complibs}")
|
||||
if [ "${CT_CLOOG}" = "y" ]; then
|
||||
extra_config+=("--with-cloog=${complibs}")
|
||||
fi
|
||||
elif [ "${CT_CC_GCC_HAS_GRAPHITE}" = "y" ]; then
|
||||
extra_config+=("--with-isl=no")
|
||||
extra_config+=("--with-cloog=no")
|
||||
@ -793,7 +795,9 @@ do_gcc_backend() {
|
||||
if [ "${CT_ISL}" = "y" ]; then
|
||||
extra_config+=("--with-isl=${complibs}")
|
||||
fi
|
||||
extra_config+=("--with-cloog=${complibs}")
|
||||
if [ "${CT_CLOOG}" = "y" ]; then
|
||||
extra_config+=("--with-cloog=${complibs}")
|
||||
fi
|
||||
elif [ "${CT_CC_GCC_HAS_GRAPHITE}" = "y" ]; then
|
||||
extra_config+=("--with-isl=no")
|
||||
extra_config+=("--with-cloog=no")
|
||||
|
Loading…
Reference in New Issue
Block a user