diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-01 01:02:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-03 16:38:45 +0100 |
commit | 7cd3c6028c0a868ddefa02aa73393f4b16a72b5c (patch) | |
tree | 8a16e08041e8e17163e256bd1511fc26db437153 /meta/recipes-support/boost/boost-1.58.0.inc | |
parent | 801436bf315e01e945e073ada79beaa98e824e0e (diff) | |
download | poky-7cd3c6028c0a868ddefa02aa73393f4b16a72b5c.tar.gz |
boost: fix build for mips
Backport 2 patches to fix the build error on mips:
mips-poky-linux-g++: error: unrecognized command line option '-m32'
https://github.com/boostorg/build/commit/c0634341d9ee2c02d3a55c91dafb988afc066c49
https://github.com/boostorg/build/commit/9576ca216cae888d7efb5da97c009c245c5ba567
Apply the pacthes to both bjam-native and boost, so put the patches to
"files" dir.
(From OE-Core rev: 729592223a0c076abe2c58a0cf3f4c6d6583602c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost/boost-1.58.0.inc')
-rw-r--r-- | meta/recipes-support/boost/boost-1.58.0.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-support/boost/boost-1.58.0.inc b/meta/recipes-support/boost/boost-1.58.0.inc index 0bae81bcfa..b47d091335 100644 --- a/meta/recipes-support/boost/boost-1.58.0.inc +++ b/meta/recipes-support/boost/boost-1.58.0.inc | |||
@@ -11,7 +11,10 @@ BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" | |||
11 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" | 11 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" |
12 | BOOST_P = "boost_${BOOST_VER}" | 12 | BOOST_P = "boost_${BOOST_VER}" |
13 | 13 | ||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2" | 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \ |
15 | file://0001-mips1-fix-added-gcc.jam-was-passing-the-options-m32-.patch \ | ||
16 | file://0002-Don-t-pass-m32-m64-where-it-s-not-supported.patch \ | ||
17 | " | ||
15 | 18 | ||
16 | SRC_URI[md5sum] = "b8839650e61e9c1c0a89f371dd475546" | 19 | SRC_URI[md5sum] = "b8839650e61e9c1c0a89f371dd475546" |
17 | SRC_URI[sha256sum] = "fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5" | 20 | SRC_URI[sha256sum] = "fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5" |