]> code.ossystems Code Review - openembedded-core.git/commit
boost: fix build for x32
authorAnuj Mittal <anuj.mittal@intel.com>
Sun, 24 Nov 2019 23:50:16 +0000 (15:50 -0800)
committerArmin Kuster <akuster808@gmail.com>
Mon, 2 Mar 2020 01:31:11 +0000 (17:31 -0800)
commit1cfd56ebdbcbab4ded1b0ea3c4bc44d3e83a9288
tree23c2bf69c8aecf52968f6aadfa6652cee7d7dcf9
parentf830a6df31b4232e2a481c2c27148ff70ebb0a13
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]

(From OE-Core rev: aad28f42b1c8aa1335c040630ebff4a69be07e35)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ebbfe23acfbc820ad7b71c95539b5af97a8be49d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.69.0.bb