From 3f05fcb52b78daeb37ea7bbc037fd44ed25aa867 Mon Sep 17 00:00:00 2001 From: Matthias Weisser Date: Mon, 18 Jan 2016 15:37:48 +0100 Subject: 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 --- scripts/build/cc/100-gcc.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/build/cc/100-gcc.sh') diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 3dfe1f53..427058c9 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 -- cgit v1.2.3