public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [crosstool-ng/crosstool-ng] ed21bc: binutils: Fix LDFLAGS for static toolchain
@ 2015-12-07 19:26 Bryan Hundven
  0 siblings, 0 replies; only message in thread
From: Bryan Hundven @ 2015-12-07 19:26 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: ed21bcaf8995aa5aad0a9631062ca5e1708e6bdc
      https://github.com/crosstool-ng/crosstool-ng/commit/ed21bcaf8995aa5aad0a9631062ca5e1708e6bdc
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-12-07 (Mon, 07 Dec 2015)

  Changed paths:
    M scripts/build/binutils/binutils.sh

  Log Message:
  -----------
  binutils: Fix LDFLAGS for static toolchain

If building a static toolchain, the ldflags option passed to
do_binutils_backend is overridden when we set `LDFLAGS=-all-static`.

We should pass `LDFLAGS=${ldflags} -all-static` in this case.

This fixes #297

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>


  Commit: 8a87716fbfe1743ac4fecd11d5f31e02bbdcbe77
      https://github.com/crosstool-ng/crosstool-ng/commit/8a87716fbfe1743ac4fecd11d5f31e02bbdcbe77
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-12-07 (Mon, 07 Dec 2015)

  Changed paths:
    M scripts/build/binutils/binutils.sh

  Log Message:
  -----------
  Merge pull request #299 from bhundven/fix_static_binutils

binutils: Fix LDFLAGS for static toolchain


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/c92387e2a8e2...8a87716fbfe1

[-- Attachment #2: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-07 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07 19:26 [crosstool-ng/crosstool-ng] ed21bc: binutils: Fix LDFLAGS for static toolchain Bryan Hundven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).