]> code.ossystems Code Review - openembedded-core.git/commit
boost: fix build for x32
authorAnuj Mittal <anuj.mittal@intel.com>
Thu, 14 Nov 2019 04:08:47 +0000 (12:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Nov 2019 21:17:40 +0000 (21:17 +0000)
commitaad28f42b1c8aa1335c040630ebff4a69be07e35
tree434fe3d963743a961e6bbf80ccbb1d007131063f
parent82c2acc1f658f039becac04aa3dae696418bd1de
boost: fix build for x32

Commit: d336110b94 boost: update to 1.67.0

dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:

| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.

Fixes [YOCTO #13598]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.71.0.bb