summaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
authorMatthias Weisser <m.weisser.m@gmail.com>2016-01-18 14:37:48 (GMT)
committerMatthias Weisser <m.weisser.m@gmail.com>2016-01-18 15:08:23 (GMT)
commit3f05fcb52b78daeb37ea7bbc037fd44ed25aa867 (patch)
tree7c917ae85dcba786a4826d2ada5ddc900656f59a /scripts/build/cc
parent99cf46785853369d2f6fd28702f98459af1646c7 (diff)
Remove GCC dependency to libelf
As crosstools-ng only support GCC >= 4.8 we do not need libelf for gcc. GCC dropped this dependency with 4.6. Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r--scripts/build/cc/100-gcc.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh
index 3dfe1f5..427058c 100644
--- a/scripts/build/cc/100-gcc.sh
+++ b/scripts/build/cc/100-gcc.sh
@@ -343,10 +343,8 @@ do_gcc_core_backend() {
extra_config+=("--with-cloog=no")
fi
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
- extra_config+=("--with-libelf=${complibs}")
extra_config+=("--enable-lto")
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
- extra_config+=("--with-libelf=no")
extra_config+=("--disable-lto")
fi
@@ -801,10 +799,8 @@ do_gcc_backend() {
extra_config+=("--with-cloog=no")
fi
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
- extra_config+=("--with-libelf=${complibs}")
extra_config+=("--enable-lto")
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
- extra_config+=("--with-libelf=no")
extra_config+=("--disable-lto")
fi