diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-10-19 10:29:49 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 22:56:04 +0100 |
commit | 41cbfd7af60f93a4bd496b7b6bf477215a286950 (patch) | |
tree | 9038f2c5ed037ee5fc033539728d3773328fccf0 /meta/recipes-devtools/ccache/files | |
parent | a27da70b3a58e5232b683f055d425cde99499f7e (diff) | |
download | poky-41cbfd7af60f93a4bd496b7b6bf477215a286950.tar.gz |
gcc-5.2: Fix various _FOR_BUILD and related variables
When doing a FOR_BUILD thing, you have to override CFLAGS with
CFLAGS_FOR_BUILD. And if you use C++, you also have to override
CXXFLAGS with CXXFLAGS_FOR_BUILD.
Without this, when building for mingw, you end up trying to use
the mingw headers for a host build.
The same goes for other variables as well, such as CPPFLAGS,
CPP, and GMPINC.
(From OE-Core rev: 85ca40c42950315f2783b98f57df16b261d2826e)
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache/files')
0 files changed, 0 insertions, 0 deletions