summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJMadgwick <james.madgwick@outlook.com>2020-03-05 21:03:44 +0000
committerJMadgwick <james.madgwick@outlook.com>2020-03-09 20:55:13 +0000
commitf7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c (patch)
tree8af67b167fb752ce55ec4a15c46162d8c069b5c7 /ipc
parent88da01c294175f81091e1499374415404e27a57a (diff)
downloaduxp-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.tar.gz
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 'ipc')
-rw-r--r--ipc/chromium/src/build/build_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h
index 7e6beb37ae..7a41701c25 100644
--- a/ipc/chromium/src/build/build_config.h
+++ b/ipc/chromium/src/build/build_config.h
@@ -85,7 +85,7 @@
#elif defined(__ppc__) || defined(__powerpc__)
#define ARCH_CPU_PPC 1
#define ARCH_CPU_32_BITS 1
-#elif defined(__sparc64__)
+#elif defined(__sparc__) && defined(__arch64__)
#define ARCH_CPU_SPARC 1
#define ARCH_CPU_64_BITS 1
#elif defined(__sparc__)