From b7ed580f3e60a06eeb30be7e9cc2fb40432ef7c8 Mon Sep 17 00:00:00 2001 From: Jory Pratt Date: Sun, 2 Apr 2023 10:50:50 -0500 Subject: [PATCH] www-client/firefox: disable elf-hack for arm64 musl users Signed-off-by: Jory Pratt --- 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 52cb88971193d..9bfd33680c832 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 f6cac626ceea7..4a7b64b5dbd8d 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)