[crosstool-ng/crosstool-ng] 8a65d0: gcc: backport fixes that preserve FLAGS_FOR_TARGET

Bryan Hundven bryanhundven@gmail.com
Tue Mar 15 16:59:00 GMT 2016


  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 8a65d08b275837052c497fc5db033b32f3fd5342
      https://github.com/crosstool-ng/crosstool-ng/commit/8a65d08b275837052c497fc5db033b32f3fd5342
  Author: Max Filippov <jcmvbkbc@gmail.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    A patches/gcc/4.8.5/130-pr43538.patch
    A patches/gcc/4.8.5/131-mt-ospace-preserve-FLAGS_FOR_TARGET.patch
    A patches/gcc/4.9.3/130-pr43538.patch
    A patches/gcc/4.9.3/131-mt-ospace-preserve-FLAGS_FOR_TARGET.patch

  Log Message:
  -----------
  gcc: backport fixes that preserve FLAGS_FOR_TARGET

CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET are rewritten in gcc-4.8.x and
gcc-4.9.x, so libstdc++ does not get any flags passed to gcc configure.
Backport fixes for config/mt-gnu and config/mt-ospace that preserve these
flags. With these fixes libstdc++ gets built with flags specified in
CT_TARGET_CFLAGS.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>


  Commit: 02d8e4a514773273443c213dab3954bdc626ecbc
      https://github.com/crosstool-ng/crosstool-ng/commit/02d8e4a514773273443c213dab3954bdc626ecbc
  Author: Max Filippov <jcmvbkbc@gmail.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    M scripts/build/cc/100-gcc.sh

  Log Message:
  -----------
  scripts/build/cc: pass FLAGS_FOR_TARGET in do_gcc_core_backend

Pass CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET and LDFLAGS_FOR_TARGET to
gcc configure in do_gcc_core_backend as they may be used to build
libstdc++ for bare-metal target.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>


  Commit: a41b269af6001e47df0c6f42cad13e32526b22cb
      https://github.com/crosstool-ng/crosstool-ng/commit/a41b269af6001e47df0c6f42cad13e32526b22cb
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    A patches/gcc/4.8.5/130-pr43538.patch
    A patches/gcc/4.8.5/131-mt-ospace-preserve-FLAGS_FOR_TARGET.patch
    A patches/gcc/4.9.3/130-pr43538.patch
    A patches/gcc/4.9.3/131-mt-ospace-preserve-FLAGS_FOR_TARGET.patch
    M scripts/build/cc/100-gcc.sh

  Log Message:
  -----------
  Merge pull request #376 from jcmvbkbc/gcc-flags-for-target

Pass CFLAGS_FOR_TARGET/CXXFLAGS_FOR_TARGET for libstdc++ in baremetal build


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/d7339f50a2e8...a41b269af600
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list