mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
binutils: Disable libdebuginfod when producing a static toolchain
libdebuginfod is incompatible with static linking so pass --without-debuginfod when CT_STATIC_TOOLCHAIN is selected. Fixes #1683 Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
4221618268
commit
e2eb7d8587
@ -171,6 +171,9 @@ do_binutils_backend() {
|
||||
extra_config+=("--disable-sim")
|
||||
extra_config+=("--disable-gdb")
|
||||
|
||||
# libdebuginfod in incompatible with static linking
|
||||
[ "${CT_STATIC_TOOLCHAIN}" = "y" ] && extra_config+=("--without-debuginfod")
|
||||
|
||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
|
||||
|
||||
# Disable usage of glob for higher compatibility.
|
||||
|
Loading…
x
Reference in New Issue
Block a user