commit: c6b28aa3314bef445a8144cb01bc3cbad4d59f00 Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com> AuthorDate: Sun Jul 2 22:47:03 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jul 16 18:42:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b28aa3
media-libs/openpgl: Fix compiling with arm64 NEON Closes: https://bugs.gentoo.org/908869 Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/openpgl/openpgl-0.5.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild index 67870a6bfa63..02987ca560ce 100644 --- a/media-libs/openpgl/openpgl-0.5.0.ebuild +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -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')