Skip to content

Commit

Permalink
Merge pull request #299 from bhundven/fix_static_binutils
Browse files Browse the repository at this point in the history
binutils: Fix LDFLAGS for static toolchain
  • Loading branch information
bhundven committed Dec 7, 2015
2 parents c92387e + ed21bca commit 8a87716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/binutils/binutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a87716

Please sign in to comment.