summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/cc/gcc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 0f12c61..e7e56f1 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -175,9 +175,14 @@ do_cc_core() {
if [ "${CT_CC_GCC_USE_GRAPHITE}" = "y" ]; then
extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}")
extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}")
+ elif [ "${CT_CC_GCC_HAS_GRAPHITE}" = "y" ]; then
+ extra_config+=("--with-ppl=no")
+ extra_config+=("--with-cloog=no")
fi
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}")
+ elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
+ extra_config+=("--with-libelf=no")
fi
if [ "${CT_CC_GCC_ENABLE_TARGET_OPTSPACE}" = "y" ]; then
@@ -373,9 +378,14 @@ do_cc() {
if [ "${CT_CC_GCC_USE_GRAPHITE}" = "y" ]; then
extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}")
extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}")
+ elif [ "${CT_CC_GCC_HAS_GRAPHITE}" = "y" ]; then
+ extra_config+=("--with-ppl=no")
+ extra_config+=("--with-cloog=no")
fi
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}")
+ elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
+ extra_config+=("--with-libelf=no")
fi
if [ "${CT_THREADS}" = "none" ]; then