commit:     2d25811f80b28d70558fdfff1391a856fbffd47f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 27 14:30:48 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 27 14:30:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d25811f

www-client/firefox: clang doesn't support thumb-interwork

Bug: https://bugs.gentoo.org/666966
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 www-client/firefox/firefox-62.0.2.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index 5afa3158b7f..68e3ed1ea93 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -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

Reply via email to