summaryrefslogtreecommitdiffstats
path: root/xpcom
diff options
context:
space:
mode:
authorJMadgwick <james.madgwick@outlook.com>2020-03-05 21:03:44 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 13:18:48 +0200
commit64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53 (patch)
treebb1ec37d987918be07f551b956ba3887c1c7d523 /xpcom
parent514ff21cbab5c638d9c347ed261a14e8bd5295e6 (diff)
downloadUXP-64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53.tar
UXP-64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53.tar.gz
UXP-64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53.tar.lz
UXP-64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53.tar.xz
UXP-64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53.zip
Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64. This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/reflect/xptcall/md/unix/moz.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/reflect/xptcall/md/unix/moz.build b/xpcom/reflect/xptcall/md/unix/moz.build
index 8ee7b3181..c5d968608 100644
--- a/xpcom/reflect/xptcall/md/unix/moz.build
+++ b/xpcom/reflect/xptcall/md/unix/moz.build
@@ -177,7 +177,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'powerpc':
'xptcstubs_ppc_openbsd.cpp',
]
-if CONFIG['OS_ARCH'] == 'Linux' and 'sparc' in CONFIG['OS_TEST']:
+if CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TEST'] == 'sparc':
SOURCES += [
'xptcinvoke_asm_sparc_linux_GCC3.s',
'xptcinvoke_sparc_solaris.cpp',
@@ -205,7 +205,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'sparc':
# files for 64-bit SPARC with no ill effects, so basically the entire mess that
# was there before is no longer needed.
-if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'SunOS') and CONFIG['OS_TEST'] == 'sparc64':
+if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'SunOS', 'Linux') and CONFIG['OS_TEST'] == 'sparc64':
SOURCES += [
'xptcinvoke_asm_sparc64_openbsd.s',
'xptcinvoke_sparc64_openbsd.cpp',