mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Merge pull request #322 from modbw/libelf
Remove GCC dependency to libelf
This commit is contained in:
commit
1cfc160f9d
@ -213,7 +213,6 @@ config CC_GCC_USE_LTO
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on CC_GCC_HAS_LTO
|
depends on CC_GCC_HAS_LTO
|
||||||
select CC_GCC_USE_LIBELF
|
|
||||||
help
|
help
|
||||||
Enable the Link Time Optimisations.
|
Enable the Link Time Optimisations.
|
||||||
|
|
||||||
@ -250,10 +249,6 @@ config CC_GCC_USE_MPC
|
|||||||
bool
|
bool
|
||||||
select MPC_NEEDED
|
select MPC_NEEDED
|
||||||
|
|
||||||
config CC_GCC_USE_LIBELF
|
|
||||||
bool
|
|
||||||
select LIBELF_NEEDED
|
|
||||||
|
|
||||||
config CC_GCC_HAS_LIBQUADMATH
|
config CC_GCC_HAS_LIBQUADMATH
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -343,10 +343,8 @@ do_gcc_core_backend() {
|
|||||||
extra_config+=("--with-cloog=no")
|
extra_config+=("--with-cloog=no")
|
||||||
fi
|
fi
|
||||||
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
|
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
|
||||||
extra_config+=("--with-libelf=${complibs}")
|
|
||||||
extra_config+=("--enable-lto")
|
extra_config+=("--enable-lto")
|
||||||
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
|
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
|
||||||
extra_config+=("--with-libelf=no")
|
|
||||||
extra_config+=("--disable-lto")
|
extra_config+=("--disable-lto")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -801,10 +799,8 @@ do_gcc_backend() {
|
|||||||
extra_config+=("--with-cloog=no")
|
extra_config+=("--with-cloog=no")
|
||||||
fi
|
fi
|
||||||
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
|
if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
|
||||||
extra_config+=("--with-libelf=${complibs}")
|
|
||||||
extra_config+=("--enable-lto")
|
extra_config+=("--enable-lto")
|
||||||
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
|
elif [ "${CT_CC_GCC_HAS_LTO}" = "y" ]; then
|
||||||
extra_config+=("--with-libelf=no")
|
|
||||||
extra_config+=("--disable-lto")
|
extra_config+=("--disable-lto")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user