From c6b28aa3314bef445a8144cb01bc3cbad4d59f00 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Mon, 3 Jul 2023 00:47:03 +0200 Subject: [PATCH] media-libs/openpgl: Fix compiling with arm64 NEON Closes: https://bugs.gentoo.org/908869 Signed-off-by: Sebastian Parborg Signed-off-by: Sam James --- 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 67870a6bfa634..02987ca560ce8 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')