kumquat-buildroot/package/gcc/4.7.4
Max Filippov f67a4f50e2 gcc: preserve CXXFLAGS_FOR_TARGET
gcc-4.7.x, gcc-4.8.x and gcc-4.9.x don't propagate CXXFLAGS_FOR_TARGET to
CXXFLAGS for libstdc++ build. As a result libstdc++ is built without
TARGET_CFLAGS and may fail to link with applications using it, see e.g.

  http://autobuild.buildroot.net/results/81a3bca5cbcf789c7ce1aa221a6a4154dd7c3917/

Instead of passing TARGET_ABI or TARGET_CFLAGS for libstdc++ in
--enable-cxx-flags parameter backport the patch that fixes propagation
of CXXFLAGS_FOR_TARGET to CXXFLAGS.

This issue is fixed in gcc-5.x

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-15 23:14:18 +01:00
..
100-uclibc-conf.patch
111-pr65730.patch
130-pr43538.patch gcc: preserve CXXFLAGS_FOR_TARGET 2016-03-15 23:14:18 +01:00
301-missing-execinfo_h.patch
305-libmudflap-susv3-legacy.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
843-gcc-4.7.3-Fix-PR-target-58595.patch
844-gcc-fix-build-with-gcc5.patch
850-libstdcxx-uclibc-c99.patch
851-PR-other-56780.patch
900-musl-support.patch gcc: fix dynamic linker path for mips soft-float 2016-03-10 23:18:31 +01:00
1000-powerpc-link-with-math-lib.patch.conditional