mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
binutils/binutils: ensure gold is staticaly-linked if needed
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> (transplanted from 293d8334b913a86c3e5d817dd84e5bc434888251)
This commit is contained in:
parent
1057a15040
commit
13b77146e7
@ -79,9 +79,9 @@ do_binutils() {
|
||||
"${CT_BINUTILS_EXTRA_CONFIG_ARRAY[@]}"
|
||||
|
||||
if [ "${CT_STATIC_TOOLCHAIN}" = "y" ]; then
|
||||
extra_make_flags+=("LDFLAGS=-all-static")
|
||||
extra_make_flags+=("LDFLAGS=-static -all-static")
|
||||
CT_DoLog EXTRA "Prepare binutils for static build"
|
||||
CT_DoExecLog ALL make configure-host
|
||||
CT_DoExecLog ALL make ${JOBSFLAGS} configure-host
|
||||
fi
|
||||
|
||||
CT_DoLog EXTRA "Building binutils"
|
||||
|
Loading…
x
Reference in New Issue
Block a user