Files
poky/meta/recipes-devtools
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
..
2013-06-03 16:43:37 +01:00
2013-01-07 11:09:36 +00:00
2013-05-12 09:37:28 +01:00
2013-06-13 17:38:09 +01:00
2013-06-07 16:48:23 +01:00
2013-02-01 15:54:03 +00:00
2013-06-04 11:43:34 +01:00
2013-02-04 13:18:27 +00:00
2013-06-13 17:38:09 +01:00
2013-02-06 09:37:26 +00:00
2011-11-29 11:22:04 +00:00
2013-05-24 14:14:42 +01:00
2013-04-28 12:12:20 +01:00
2013-05-24 14:14:45 +01:00
2013-01-07 13:38:27 +00:00
2013-06-18 17:33:15 +01:00
2013-04-02 17:57:07 +01:00
2013-03-18 13:18:24 +00:00
2013-06-07 16:48:24 +01:00
2013-05-16 00:09:46 +03:00
2011-12-08 15:24:32 +00:00
2012-08-19 10:46:39 +01:00
2013-03-23 17:40:27 +00:00