commit: b7ed580f3e60a06eeb30be7e9cc2fb40432ef7c8
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 2 15:50:50 2023 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Apr 2 15:51:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ed580f
www-client/firefox: disable elf-hack for arm64 musl users
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
www-client/firefox/firefox-102.9.0.ebuild | 4 ++++
www-client/firefox/firefox-111.0.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/www-client/firefox/firefox-102.9.0.ebuild
b/www-client/firefox/firefox-102.9.0.ebuild
index 52cb88971193..9bfd33680c83 100644
--- a/www-client/firefox/firefox-102.9.0.ebuild
+++ b/www-client/firefox/firefox-102.9.0.ebuild
@@ -915,6 +915,10 @@ src_configure() {
fi
fi
+ if use elibc_musl && use arm64 ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using
musl/arm64' --disable-elf-hack
+ fi
+
# Additional ARCH support
case "${ARCH}" in
arm)
diff --git a/www-client/firefox/firefox-111.0.ebuild
b/www-client/firefox/firefox-111.0.ebuild
index f6cac626ceea..4a7b64b5dbd8 100644
--- a/www-client/firefox/firefox-111.0.ebuild
+++ b/www-client/firefox/firefox-111.0.ebuild
@@ -1009,6 +1009,10 @@ src_configure() {
fi
fi
+ if use elibc_musl && use arm64 ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using
musl/arm64' --disable-elf-hack
+ fi
+
# Additional ARCH support
case "${ARCH}" in
arm)