mozconfig-v6.60.eclass: clang doesn't support thumb-interwork
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 14:56:55 +0000 (16:56 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 16:19:12 +0000 (18:19 +0200)
Backport of commit 2d25811f80b28d70558fdfff1391a856fbffd47f.

Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
eclass/mozconfig-v6.60.eclass

index 2e2b1b9ec614d54e8676c5476029a2ec176c1572..905a64c9787f13e249843a39c6428faee11253da 100644 (file)
@@ -334,8 +334,12 @@ mozconfig_config() {
        # 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