From: Benjamin Bara Date: Mon, 4 Sep 2023 08:48:27 +0000 (+0200) Subject: nettle: avoid neon on unsupported machines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=768c6bb46e1cc4a1d8c12c6f30408bb821ec4534;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 --- diff --git a/meta/recipes-support/nettle/nettle_3.9.1.bb b/meta/recipes-support/nettle/nettle_3.9.1.bb index 6bb76a62171..396708cf873 100644 --- a/meta/recipes-support/nettle/nettle_3.9.1.bb +++ b/meta/recipes-support/nettle/nettle_3.9.1.bb @@ -30,6 +30,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 }