generic-poky/meta/recipes-devtools/gcc/gcc-4.8
Mark Hatle 216e4dc4aa gcc: When cross compiling a target gcc, target flags may be used on the host
The original fix worked some of the time, but not on all machines.  Fix
this by applying the change in a different way.  Following the example of
the existing BUILD_CFLAGS.

Below is the commit message from the original change to help explain why
this is needed:

Configure identifies a number of warning flags (WARN_CFLAGS and
WARN_CXXFLAGS) from the $CC value.  The cross compiler may be different
from the host compiler and may not support the same set of flags.  This
leads to problems such as:

cc1plus: error: unrecognized command line option "-Wno-narrowing"
cc1plus: error: unrecognized command line option "-Wno-overlength-strings"

Work around this problem by removing the warning flags from the
BUILD_CXXFLAGS value, in a way similar to the BUILD_CFLAGS.

(From OE-Core rev: be21c6e8e4f810e826538337dac6e34ed96e1f6f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:58 +01:00
..
0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0002-uclibc-conf.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0003-gcc-uclibc-locale-ctype_touplow_t.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0004-uclibc-locale.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0005-uclibc-locale-no__x.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0006-uclibc-locale-wchar_fix.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0007-uclibc-locale-update.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0008-missing-execinfo_h.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0009-c99-snprintf.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0010-c99-complex-ugly-hack.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0011-index_macro.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0012-libmudflap-susv3-legacy.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0013-libstdc-namespace.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0014-sh-pr24836.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0015-arm-Use-TARGET_ENDIAN_OPTION-for-determining-MULTILI.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0016-gcc-poison-system-directories.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0017-gcc-poison-dir-extend.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0018-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0019-64-bit-multilib-hack.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0020-optional-libstdc.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0022-COLLECT_GCC_OPTIONS.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0024-PR-target-32219.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0025-fortran-cross-compile-hack.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0026-libgcc-sjlj-check.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0027-cpp-honor-sysroot.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0028-MIPS64-Default-to-N64-ABI.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0030-gcc-Fix-argument-list-too-long-error.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0031-Disable-sdt.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0032-libtool.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0033-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0035-wcast-qual-PR-55383.patch gcc-4.8: Refactor gcc-4.8.0 patch files. 2013-04-22 14:45:04 +01:00
0036-PR-target-56102.patch gcc-4.8: Backport fix for ICE triggered in pixman 2013-06-18 17:33:16 +01:00
gcc-4.8-build-args.patch gcc: When cross compiling a target gcc, target flags may be used on the host 2013-06-25 17:44:58 +01:00
gcc-4.8-PR56797.patch gcc-4.8: Fix GCC ICE on arm 2013-04-22 14:45:04 +01:00