Merge pull request #322 from modbw/libelf

Remove GCC dependency to libelf
This commit is contained in:
Bryan Hundven 2016-02-08 15:59:21 -08:00
commit 1cfc160f9d
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -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