aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost-1.58.0.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-01 01:02:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-01 22:19:22 +0100
commit729592223a0c076abe2c58a0cf3f4c6d6583602c (patch)
treeedf51d9d7f3e87e39db6246cb9f691b5533a79a6 /meta/recipes-support/boost/boost-1.58.0.inc
parent4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6 (diff)
downloadopenembedded-core-contrib-729592223a0c076abe2c58a0cf3f4c6d6583602c.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. 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.inc5
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("."))}"
BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}"
BOOST_P = "boost_${BOOST_VER}"
-SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \
+ file://0001-mips1-fix-added-gcc.jam-was-passing-the-options-m32-.patch \
+ file://0002-Don-t-pass-m32-m64-where-it-s-not-supported.patch \
+"
SRC_URI[md5sum] = "b8839650e61e9c1c0a89f371dd475546"
SRC_URI[sha256sum] = "fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5"