mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Merge pull request #299 from bhundven/fix_static_binutils
binutils: Fix LDFLAGS for static toolchain
This commit is contained in:
commit
8a87716fbf
@ -235,7 +235,7 @@ do_binutils_backend() {
|
||||
"${CT_BINUTILS_EXTRA_CONFIG_ARRAY[@]}"
|
||||
|
||||
if [ "${static_build}" = "y" ]; then
|
||||
extra_make_flags+=("LDFLAGS=-all-static")
|
||||
extra_make_flags+=("LDFLAGS=${ldflags} -all-static")
|
||||
CT_DoLog EXTRA "Prepare binutils for static build"
|
||||
CT_DoExecLog ALL ${make} ${JOBSFLAGS} configure-host
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user