kumquat-buildroot/package/gcc/4.8.5
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
120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
130-pr43538.patch
301-missing-execinfo_h.patch
305-libmudflap-susv3-legacy.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
841-PR57717-E500v2.patch
842-PR60155.patch
843-aarch64-vmlaq_lane_s32-typo.patch
850-libstdcxx-uclibc-c99.patch
851-PR-other-56780.patch
870-xtensa-add-mauto-litpools-option.patch
871-xtensa-reimplement-register-spilling.patch
872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch
873-xtensa-fix-_Unwind_GetCFA.patch
900-musl-support.patch
1000-powerpc-link-with-math-lib.patch.conditional