mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user