Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions www-client/firefox/firefox-91.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"

SLOT="0/$(ver_cut 1)"
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate
hardened hwaccel jack lto +openh264 pgo pulseaudio screencast sndio selinux
+system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+system-libvpx +system-webp wayland wifi"
IUSE="+clang cpu_flags_arm_neon cpu_flags_arm_thumb2 dbus debug eme-free geckodriver
+gmp-autoupdate hardened hwaccel jack lto +openh264 pgo pulseaudio screencast
sndio selinux +system-av1 +system-harfbuzz +system-icu +system-jpeg
+system-libevent +system-libvpx +system-webp wayland wifi"

REQUIRED_USE="debug? ( !system-av1 )
screencast? ( wayland )"
Expand Down Expand Up @@ -783,15 +783,17 @@ src_configure() {
filter-flags '-O*'

# Modifications to better support ARM, bug #553364
# gcc and clang are both fine with neon optimization
if use cpu_flags_arm_neon ; then
mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
fi

if ! tc-is-clang ; then
# thumb options aren't supported when using clang, bug 666966
mozconfig_add_options_ac '+cpu_flags_arm_neon' \
--with-thumb=yes \
--with-thumb-interwork=no
fi
if cpu_flags_arm_thumb2 && ! tc-is-clang ; then
# thumb options aren't supported when using clang, bug 666966
# this needs special thumbv7neon-unknown-linux-gnueabihf rust-std
mozconfig_add_options_ac '+cpu_flags_arm_thumb2' \
--with-thumb=yes \
--with-thumb-interwork=no
fi

if [[ ${CHOST} == armv*h* ]] ; then
Expand Down