]> code.ossystems Code Review - openembedded-core.git/commitdiff
boost: fix build with x32 and musl
authorAnuj Mittal <anuj.mittal@intel.com>
Tue, 2 Jan 2018 08:59:15 +0000 (16:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
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>
(cherry picked from commit 1879bd13f09c8180f737ddaccd2025e22c7f0c46)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-support/boost/boost.inc

index f4ecc10a554b10ed44a26f0ebe2ffbcc80506664..41fc90fb2114abb2995315e41bd014a6ab35cda6 100644 (file)
@@ -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