mozconfig-v6.60.eclass: disable elf-hack when USE=clang
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 30 Sep 2018 19:36:47 +0000 (21:36 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 30 Sep 2018 20:05:39 +0000 (22:05 +0200)
Bug: https://bugs.gentoo.org/667216
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
eclass/mozconfig-v6.60.eclass

index 42a693b5e108c9d76769844ded941d53a67d6834..6e6b0249bbaebc116ef51e369f5579601752805e 100644 (file)
@@ -331,7 +331,10 @@ mozconfig_config() {
        mozconfig_use_with system-harfbuzz
        mozconfig_use_with system-harfbuzz system-graphite2
 
-       if use arm ; then
+       if use clang ; then
+               # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
+               mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack
+       elif use arm ; then
                mozconfig_annotate 'elf-hack is broken on arm' --disable-elf-hack
        fi