diff options
Diffstat (limited to 'x11-libs/pixman/pixman-9999.ebuild')
-rw-r--r-- | x11-libs/pixman/pixman-9999.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-libs/pixman/pixman-9999.ebuild b/x11-libs/pixman/pixman-9999.ebuild index 0fbef29030a3..1cd3dd3a43a8 100644 --- a/x11-libs/pixman/pixman-9999.ebuild +++ b/x11-libs/pixman/pixman-9999.ebuild @@ -46,8 +46,6 @@ multilib_src_configure() { $(meson_feature cpu_flags_x86_sse2 sse2) $(meson_feature cpu_flags_x86_ssse3 ssse3) $(meson_feature cpu_flags_ppc_altivec vmx) - $(meson_feature cpu_flags_arm_neon neon) - $(meson_feature cpu_flags_arm_neon a64-neon) $(meson_feature loongson2f loongson-mmi) $(meson_feature test openmp) # only used in unit tests $(meson_feature test tests) @@ -55,6 +53,13 @@ multilib_src_configure() { -Dgtk=disabled -Dlibpng=disabled ) + + if [[ ${ABI} == arm64 ]]; then + emesonargs+=($(meson_feature cpu_flags_arm_neon a64-neon)) + elif [[ ${ABI} == arm ]]; then + emesonargs+=($(meson_feature cpu_flags_arm_neon neon)) + fi + meson_src_configure } |