www-client/firefox: clang doesn't support thumb-interwork
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 14:30:48 +0000 (16:30 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 14:30:48 +0000 (16:30 +0200)
Bug: https://bugs.gentoo.org/666966
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

www-client/firefox/firefox-62.0.2.ebuild

index 5afa3158b7f731ac3baaf87e81993452c3d51822..68e3ed1ea93d9c53e358c17cb960030629cd252c 100644 (file)
@@ -323,8 +323,12 @@ src_configure() {
        # Modifications to better support ARM, bug 553364
        if use neon ; then
                mozconfig_annotate '' --with-fpu=neon
-               mozconfig_annotate '' --with-thumb=yes
-               mozconfig_annotate '' --with-thumb-interwork=no
+
+               if ! tc-is-clang ; then
+                       # thumb options aren't supported when using clang, bug 666966
+                       mozconfig_annotate '' --with-thumb=yes
+                       mozconfig_annotate '' --with-thumb-interwork=no
+               fi
        fi
        if [[ ${CHOST} == armv* ]] ; then
                mozconfig_annotate '' --with-float-abi=hard