summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost.inc
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-12-13 20:09:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-09 13:39:12 +0000
commit550052f9d8a3e2e291d4b22548bb860aa3ff30b3 (patch)
treeabf6ed08d2603fe3c83e1d3c7b4bb2f246d785ac /meta/recipes-support/boost/boost.inc
parent0bfe26381640c2fc1b2e5ed6db23a04a0608f538 (diff)
downloadpoky-550052f9d8a3e2e291d4b22548bb860aa3ff30b3.tar.gz
boost: drop flags bits, fix for x32
boost was adding -march/-mcpu itself, and adding -m32/-m64 itself as well. Patch that behavior out, apply another similar patch from elsewhere, and adjust BJAM_OPTS to fix the x32 build. (From OE-Core rev: 2dc30ad281b625e0c4f2437879bce58245aa45b1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost/boost.inc')
-rw-r--r--meta/recipes-support/boost/boost.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index a1a6a90f9c..0b2b17d032 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -177,6 +177,9 @@ BJAM_OPTS = '${BOOST_PARALLEL_MAKE} -d+2 -q \
177# Native compilation of bzip2 isn't working 177# Native compilation of bzip2 isn't working
178BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1' 178BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1'
179 179
180# Adjust the build for x32
181BJAM_OPTS_append_linux-gnux32 = " abi=x32 address-model=64"
182
180do_configure() { 183do_configure() {
181 cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp 184 cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp
182 185