Lines 61-70
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
Link Here
|
61 |
|
61 |
|
62 |
SLOT="0/$(ver_cut 1)" |
62 |
SLOT="0/$(ver_cut 1)" |
63 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
63 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
64 |
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate |
64 |
IUSE="+clang cpu_flags_arm_neon cpu_flags_arm_thumb2 dbus debug eme-free geckodriver |
65 |
hardened hwaccel jack lto +openh264 pgo pulseaudio screencast sndio selinux |
65 |
+gmp-autoupdate hardened hwaccel jack lto +openh264 pgo pulseaudio screencast |
66 |
+system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent |
66 |
sndio selinux +system-av1 +system-harfbuzz +system-icu +system-jpeg |
67 |
+system-libvpx +system-webp wayland wifi" |
67 |
+system-libevent +system-libvpx +system-webp wayland wifi" |
68 |
|
68 |
|
69 |
REQUIRED_USE="debug? ( !system-av1 ) |
69 |
REQUIRED_USE="debug? ( !system-av1 ) |
70 |
screencast? ( wayland )" |
70 |
screencast? ( wayland )" |
Lines 783-797
src_configure() {
Link Here
|
783 |
filter-flags '-O*' |
783 |
filter-flags '-O*' |
784 |
|
784 |
|
785 |
# Modifications to better support ARM, bug #553364 |
785 |
# Modifications to better support ARM, bug #553364 |
|
|
786 |
# gcc and clang are both fine with neon optimization |
786 |
if use cpu_flags_arm_neon ; then |
787 |
if use cpu_flags_arm_neon ; then |
787 |
mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon |
788 |
mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon |
|
|
789 |
fi |
788 |
|
790 |
|
789 |
if ! tc-is-clang ; then |
791 |
if cpu_flags_arm_thumb2 && ! tc-is-clang ; then |
790 |
# thumb options aren't supported when using clang, bug 666966 |
792 |
# thumb options aren't supported when using clang, bug 666966 |
791 |
mozconfig_add_options_ac '+cpu_flags_arm_neon' \ |
793 |
# this needs special thumbv7neon-unknown-linux-gnueabihf rust-std |
792 |
--with-thumb=yes \ |
794 |
mozconfig_add_options_ac '+cpu_flags_arm_thumb2' \ |
793 |
--with-thumb-interwork=no |
795 |
--with-thumb=yes \ |
794 |
fi |
796 |
--with-thumb-interwork=no |
795 |
fi |
797 |
fi |
796 |
|
798 |
|
797 |
if [[ ${CHOST} == armv*h* ]] ; then |
799 |
if [[ ${CHOST} == armv*h* ]] ; then |