This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[crosstool-ng/crosstool-ng] ed21bc: binutils: Fix LDFLAGS for static toolchain


  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
--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]