summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBedel, Alban <alban.bedel@aerq.com>2019-08-15 12:37:28 +0000
committerArmin Kuster <akuster808@gmail.com>2019-08-15 20:47:53 -0700
commite09f916e2b5ff8c7cef7cfd13b43a7f9d2463346 (patch)
treeee3a7756c30ec9bbecfd4741ef9b3a26a6ef2ec9
parent8f13dbd9e066670d7407cd2a9293abce5ec3ac05 (diff)
downloadopenembedded-core-contrib-e09f916e2b5ff8c7cef7cfd13b43a7f9d2463346.tar.gz
openembedded-core-contrib-e09f916e2b5ff8c7cef7cfd13b43a7f9d2463346.tar.bz2
openembedded-core-contrib-e09f916e2b5ff8c7cef7cfd13b43a7f9d2463346.zip
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. Signed-off-by: Alban Bedel <alban.bedel@aerq.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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 9be3717fd6..c2e2cbb352 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -33,6 +33,7 @@ BOOST_LIBS_append_x86 = " context coroutine"
BOOST_LIBS_append_x86-64 = " context coroutine"
BOOST_LIBS_append_powerpc = " context coroutine"
BOOST_LIBS_append_arm = " context coroutine"
+BOOST_LIBS_append_aarch64 = " context coroutine"
# need consistent settings for native builds (x86 override not applied for native)
BOOST_LIBS_remove_class-native = " context coroutine"
# does not compile
@@ -151,6 +152,7 @@ BJAM_OPTS_append_x86-x32 = " abi=x32 address-model=64"
# cross compiling for arm fails to detect abi, so provide some help
BJAM_OPTS_append_arm = " abi=aapcs architecture=arm"
+BJAM_OPTS_append_aarch64 = " abi=aapcs address-model=64 architecture=arm"
do_configure() {
cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp