diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-11-07 09:46:42 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:08:09 +0000 |
commit | d8adfd28f71136e67fffbf79c32384a81ef29676 (patch) | |
tree | 8b38a4b6002801b146f44c319351fe492e93c1e2 /meta/recipes-extended/findutils | |
parent | 8ae27fa07be08b2c841d8e9a29ea1c909136f170 (diff) | |
download | poky-d8adfd28f71136e67fffbf79c32384a81ef29676.tar.gz |
gcc-4.9: Fix various _FOR_BUILD and related variables
This patch is based on the patch for gcc-5.2 (41cbfd7af60f93a4bd496b7b6bf477215a286950)
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: e6dc4b2ac0cc6417c0e0ddcdcbe3f334581af8fc)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/findutils')
0 files changed, 0 insertions, 0 deletions