media-libs/openpgl: Fix compiling with arm64 NEON

Closes: https://bugs.gentoo.org/908869
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sebastian Parborg
2023-07-16 19:42:15 +01:00
committed by Sam James
parent c1b361449c
commit c6b28aa331
+4 -1
View File
@@ -3,7 +3,7 @@
EAPI=8
inherit cmake
inherit cmake flag-o-matic
DESCRIPTION="Intel Open Path Guiding Library"
HOMEPAGE="https://github.com/OpenPathGuidingLibrary/openpgl"
@@ -33,6 +33,9 @@ src_configure() {
-DOPENPGL_ISA_NEON=$(usex cpu_flags_arm_neon)
)
# This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully
use cpu_flags_arm_neon && append-flags -flax-vector-conversions
# Disable asserts
append-cppflags $(usex debug '' '-DNDEBUG')