From: Benjamin Bara Date: Mon, 4 Sep 2023 08:48:27 +0000 (+0200) Subject: nettle: avoid neon on unsupported machines X-Git-Tag: 2023-04.4~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0c8796cc5788a88b3e4fea50de130185b11a18;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git nettle: avoid neon on unsupported machines Disable neon if the machine does not support it. --enable-fat also includes the neon assembler code, therefore also disable it. Signed-off-by: Benjamin Bara Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534) Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-support/nettle/nettle_3.8.1.bb b/meta/recipes-support/nettle/nettle_3.8.1.bb index bf491322354..8569b2f95a1 100644 --- a/meta/recipes-support/nettle/nettle_3.8.1.bb +++ b/meta/recipes-support/nettle/nettle_3.8.1.bb @@ -34,6 +34,9 @@ EXTRA_AUTORECONF += "--exclude=aclocal" EXTRA_OECONF = "--disable-openssl" +EXTRA_OECONF:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" +EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" + do_compile_ptest() { oe_runmake buildtest }