commit: 46b1048c257e1074ddaaaaa6ee88ffbac431a6d7 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Jun 10 05:16:11 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Jun 10 05:16:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b1048c
dev-libs/efl: fix arm[-neon] CPU builds, #722552 Closes: https://bugs.gentoo.org/722552 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-libs/efl/efl-1.24.2.ebuild | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/dev-libs/efl/efl-1.24.2.ebuild b/dev-libs/efl/efl-1.24.2.ebuild index 397a184692d..d7832a453ac 100644 --- a/dev-libs/efl/efl-1.24.2.ebuild +++ b/dev-libs/efl/efl-1.24.2.ebuild @@ -12,11 +12,12 @@ SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" -IUSE="+X bmp connman dds debug doc drm +eet elogind examples fbcon +fontconfig - fribidi gif gles2 gnutls glib +gstreamer harfbuzz hyphen ibus ico libressl - lua +luajit jpeg2k json nls mono opengl +pdf physics pmaps postscript psd - pulseaudio raw scim sdl +sound +ssl +svg +system-lz4 systemd tga tgv tiff - tslib unwind v4l vnc wayland webp xcf xim xpm xpresent zeroconf" +IUSE="+X bmp connman cpu_flags_arm_neon dds debug doc drm +eet elogind examples + fbcon +fontconfig fribidi gif gles2 gnutls glib +gstreamer harfbuzz hyphen + ibus ico libressl lua +luajit jpeg2k json nls mono opengl +pdf physics + pmaps postscript psd pulseaudio raw scim sdl +sound +ssl +svg +system-lz4 + systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf xim xpm xpresent + zeroconf" REQUIRED_USE=" ?? ( elogind systemd ) @@ -244,6 +245,11 @@ src_configure() { fi emesonargs+=( -D lua-interpreter="${luaChoice}" ) + # Not all arm CPU's have neon instruction set, #722552 + if use arm && ! use cpu_flags_arm_neon; then + emesonargs+=( -D native-arch-optimization=false ) + fi + meson_src_configure }
