1 |
commit: 3287ded77997af0fe8efbe40d89aaac67bcf0750 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 27 14:56:55 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 27 16:19:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3287ded7 |
7 |
|
8 |
mozconfig-v6.60.eclass: clang doesn't support thumb-interwork |
9 |
|
10 |
Backport of commit 2d25811f80b28d70558fdfff1391a856fbffd47f. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
eclass/mozconfig-v6.60.eclass | 8 ++++++-- |
15 |
1 file changed, 6 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass |
18 |
index 2e2b1b9ec61..905a64c9787 100644 |
19 |
--- a/eclass/mozconfig-v6.60.eclass |
20 |
+++ b/eclass/mozconfig-v6.60.eclass |
21 |
@@ -334,8 +334,12 @@ mozconfig_config() { |
22 |
# Modifications to better support ARM, bug 553364 |
23 |
if use neon ; then |
24 |
mozconfig_annotate '' --with-fpu=neon |
25 |
- mozconfig_annotate '' --with-thumb=yes |
26 |
- mozconfig_annotate '' --with-thumb-interwork=no |
27 |
+ |
28 |
+ if ! tc-is-clang ; then |
29 |
+ # thumb options aren't supported when using clang, bug 666966 |
30 |
+ mozconfig_annotate '' --with-thumb=yes |
31 |
+ mozconfig_annotate '' --with-thumb-interwork=no |
32 |
+ fi |
33 |
fi |
34 |
if [[ ${CHOST} == armv* ]] ; then |
35 |
mozconfig_annotate '' --with-float-abi=hard |