mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Synchronize CT_CC_GCC_USE_LTO parameter setting in do_gcc_backend with the one
from do_gcc_core_backend, by adding "--enable-lto"/"--disable-lto". Signed-off-by: Jasmin Jessich <jasmin@anw.
This commit is contained in:
parent
6b9a8727d8
commit
9bce2dc540
@ -752,8 +752,10 @@ do_gcc_backend() {
|
||||
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
|
||||
|
||||
if [ ${#host_libstdcxx_flags[@]} -ne 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user