diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-12-13 20:09:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:34:31 +0000 |
commit | 2dc30ad281b625e0c4f2437879bce58245aa45b1 (patch) | |
tree | 2654b41f853154cbe236c3db9d0561bee0d4f7e1 /meta/recipes-support/boost/boost.inc | |
parent | 520cee660efa60e44dbf004a617c130597be6cae (diff) | |
download | openembedded-core-contrib-2dc30ad281b625e0c4f2437879bce58245aa45b1.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.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/boost/boost.inc')
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 3 |
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 \ # Native compilation of bzip2 isn't working BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1' +# Adjust the build for x32 +BJAM_OPTS_append_linux-gnux32 = " abi=x32 address-model=64" + do_configure() { cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp |