summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost
diff options
context:
space:
mode:
authorBedel, Alban <alban.bedel@aerq.com>2019-07-17 14:20:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-13 09:37:36 +0100
commit3276bded22a67b5dbbd726eaf9c21fc8e8effb38 (patch)
tree98249c367128958a70834a8a173a6be8360512c1 /meta/recipes-support/boost
parent619c7f7c2255bea210505eab8ec1dfbee1c38782 (diff)
downloadpoky-3276bded22a67b5dbbd726eaf9c21fc8e8effb38.tar.gz
boost: Fix build and enable context and coroutines on aarch64
Like for ARM bjam need some hints about the ABI to properly build on aarch64. While at it also enable context and coroutine as these are supported on aarch64. (From OE-Core rev: 5140e0a64aac8c621fe0d839dea41b7b43a96b4d) Signed-off-by: Alban Bedel <alban.bedel@aerq.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, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 0330202586..f385541653 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -35,6 +35,7 @@ BOOST_LIBS_append_x86 = " context coroutine"
35BOOST_LIBS_append_x86-64 = " context coroutine" 35BOOST_LIBS_append_x86-64 = " context coroutine"
36BOOST_LIBS_append_powerpc = " context coroutine" 36BOOST_LIBS_append_powerpc = " context coroutine"
37BOOST_LIBS_append_arm = " context coroutine" 37BOOST_LIBS_append_arm = " context coroutine"
38BOOST_LIBS_append_aarch64 = " context coroutine"
38# need consistent settings for native builds (x86 override not applied for native) 39# need consistent settings for native builds (x86 override not applied for native)
39BOOST_LIBS_remove_class-native = " context coroutine" 40BOOST_LIBS_remove_class-native = " context coroutine"
40# does not compile 41# does not compile
@@ -153,6 +154,7 @@ BJAM_OPTS_append_x86-x32 = " abi=x32 address-model=64"
153 154
154# cross compiling for arm fails to detect abi, so provide some help 155# cross compiling for arm fails to detect abi, so provide some help
155BJAM_OPTS_append_arm = " abi=aapcs architecture=arm" 156BJAM_OPTS_append_arm = " abi=aapcs architecture=arm"
157BJAM_OPTS_append_aarch64 = " abi=aapcs address-model=64 architecture=arm"
156 158
157do_configure() { 159do_configure() {
158 cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp 160 cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp