summaryrefslogtreecommitdiff
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
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>
-rw-r--r--config/cc/gcc.in5
-rw-r--r--scripts/build/cc/100-gcc.sh4
2 files changed, 0 insertions, 9 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index e9641b7..84ac8fd 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -213,7 +213,6 @@ config CC_GCC_USE_LTO
bool
default y
depends on CC_GCC_HAS_LTO
- select CC_GCC_USE_LIBELF
help
Enable the Link Time Optimisations.
@@ -250,10 +249,6 @@ config CC_GCC_USE_MPC
bool
select MPC_NEEDED
-config CC_GCC_USE_LIBELF
- bool
- select LIBELF_NEEDED
-
config CC_GCC_HAS_LIBQUADMATH
bool
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