summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.2.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-10-19 10:29:49 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-21 22:56:04 +0100
commit41cbfd7af60f93a4bd496b7b6bf477215a286950 (patch)
tree9038f2c5ed037ee5fc033539728d3773328fccf0 /meta/recipes-devtools/gcc/gcc-5.2.inc
parenta27da70b3a58e5232b683f055d425cde99499f7e (diff)
downloadpoky-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/gcc/gcc-5.2.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.2.inc b/meta/recipes-devtools/gcc/gcc-5.2.inc
index f6673e6a35..a6b385ac65 100644
--- a/meta/recipes-devtools/gcc/gcc-5.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-5.2.inc
@@ -73,6 +73,7 @@ SRC_URI = "\
73 file://0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch \ 73 file://0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch \
74 file://0040-nativesdk-gcc-support.patch \ 74 file://0040-nativesdk-gcc-support.patch \
75 file://0041-handle-target-sysroot-multilib.patch \ 75 file://0041-handle-target-sysroot-multilib.patch \
76 file://0042-cxxflags-for-build.patch \
76 " 77 "
77 78
78BACKPORTS = "" 79BACKPORTS = ""