www-client/firefox: --disable-elf-hack is not supported on arm64
authorThomas Deutschmann <whissi@gentoo.org>
Wed, 11 Mar 2020 16:46:57 +0000 (17:46 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Wed, 11 Mar 2020 19:21:12 +0000 (20:21 +0100)
Fixes

  0:23.63 mozbuild.configure.options.InvalidOptionError: --disable-elf-hack is not available in this configuration

as seen on arm64.

Link: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=f10361660904dd392c6fe7f07a5cdf99ba91e2ea
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/firefox-68.5.0.ebuild
www-client/firefox/firefox-68.6.0.ebuild

index 50337cc66518ebbae06a5843b81612ddf70a184e..4b8f2519a86942ed62977f41bbc67172478c90b1 100644 (file)
@@ -570,7 +570,7 @@ src_configure() {
        # when they would normally be larger than 2GiB.
        append-ldflags "-Wl,--compress-debug-sections=zlib"
 
-       if use clang ; then
+       if use clang && ! use arm64; then
                # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
                # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
                mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack
index 3b50e7317723514d38b9af58f4d510ebb6a4fdba..546fb2cae1df8da7a28f3bdc2bd14f3fe8896d9d 100644 (file)
@@ -570,7 +570,7 @@ src_configure() {
        # when they would normally be larger than 2GiB.
        append-ldflags "-Wl,--compress-debug-sections=zlib"
 
-       if use clang ; then
+       if use clang && ! use arm64; then
                # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
                # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
                mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack