summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-01-02 16:59:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-03 09:26:30 +0000
commit1879bd13f09c8180f737ddaccd2025e22c7f0c46 (patch)
tree4aa3f965d459fd3d82465a4cc38cb7a37a67fc69 /meta/recipes-support/boost
parent4471993aabd2be1ee56259a55c1e02ed49d504f2 (diff)
downloadopenembedded-core-contrib-1879bd13f09c8180f737ddaccd2025e22c7f0c46.tar.gz
boost: fix build with x32 and musl
Make sure that boost picks up correct address model value for x32 even when musl is enabled. Fixes [YOCTO #12119] Suggested-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r--meta/recipes-support/boost/boost.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index f4ecc10a554..41fc90fb211 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -169,7 +169,7 @@ BJAM_OPTS = '${BOOST_PARALLEL_MAKE} -d+2 -q \
BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1'
# Adjust the build for x32
-BJAM_OPTS_append_linux-gnux32 = " abi=x32 address-model=64"
+BJAM_OPTS_append_x86-x32 = " abi=x32 address-model=64"
do_configure() {
cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp