commit:     547d360604c083a21e7168d904506e055452d74f
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  9 14:04:39 2020 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Tue Jun  9 14:05:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547d3606

media-libs/libaom: Force neon on arm64

Fixes: https://bugs.gentoo.org/727432

Thanks to leio for the fix.

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>

 media-libs/libaom/libaom-2.0.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libaom/libaom-2.0.0.ebuild 
b/media-libs/libaom/libaom-2.0.0.ebuild
index 268395a26e4..8e92d73e998 100644
--- a/media-libs/libaom/libaom-2.0.0.ebuild
+++ b/media-libs/libaom/libaom-2.0.0.ebuild
@@ -50,7 +50,8 @@ multilib_src_configure() {
                -DENABLE_TOOLS=ON
                -DENABLE_WERROR=OFF
 
-               -DENABLE_NEON=$(usex cpu_flags_arm_neon ON OFF)
+               # neon support is assumed to be always enabled on arm64
+               -DENABLE_NEON=$(usex cpu_flags_arm_neon ON $(usex arm64 ON OFF))
                # ENABLE_DSPR2 / ENABLE_MSA for mips
                -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF)
                -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF)

Reply via email to