boost: fix build failure when musl is used with x32 ABI

Submitted by Ovidiu Panait on Nov. 13, 2017, 5:58 p.m. | Patch ID: 145751

Details

Message ID 20171113175835.40803-1-ovidiu.panait@windriver.com
State New
Headers show

Commit Message

Ovidiu Panait Nov. 13, 2017, 5:58 p.m.
Solves do_compile task failure when musl and x32 ABI are used (Bug #12119)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
---
 meta/recipes-support/boost/boost.inc | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index f4ecc10..2d8a442 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -170,6 +170,7 @@  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_linux-muslx32 = " abi=x32 address-model=64"
 
 do_configure() {
 	cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp