355
|
1 |
# HG changeset patch
|
356
|
2 |
# Parent 928a29c4a79c9041d6b9f68e24de8f5aab15cc5d
|
355
|
3 |
From: upstream
|
|
4 |
Subject: Fix PPC64 build
|
|
5 |
https://bugzilla.mozilla.org/show_bug.cgi?id=670719
|
|
6 |
https://bugzilla.mozilla.org/show_bug.cgi?id=654056
|
|
7 |
|
|
8 |
diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h
|
|
9 |
--- a/ipc/chromium/src/build/build_config.h
|
|
10 |
+++ b/ipc/chromium/src/build/build_config.h
|
356
|
11 |
@@ -54,16 +54,19 @@
|
355
|
12 |
#define ARCH_CPU_X86_FAMILY 1
|
|
13 |
#define ARCH_CPU_X86 1
|
|
14 |
#define ARCH_CPU_32_BITS 1
|
|
15 |
#elif defined(__ARMEL__)
|
|
16 |
#define ARCH_CPU_ARM_FAMILY 1
|
|
17 |
#define ARCH_CPU_ARMEL 1
|
|
18 |
#define ARCH_CPU_32_BITS 1
|
|
19 |
#define WCHAR_T_IS_UNSIGNED 1
|
|
20 |
+#elif defined(__powerpc64__)
|
|
21 |
+#define ARCH_CPU_PPC64 1
|
|
22 |
+#define ARCH_CPU_64_BITS 1
|
|
23 |
#elif defined(__ppc__) || defined(__powerpc__)
|
|
24 |
#define ARCH_CPU_PPC 1
|
|
25 |
#define ARCH_CPU_32_BITS 1
|
356
|
26 |
#elif defined(__sparc64__)
|
|
27 |
#define ARCH_CPU_SPARC 1
|
|
28 |
#define ARCH_CPU_64_BITS 1
|
355
|
29 |
#else
|
|
30 |
#error Please add support for your architecture in build/build_config.h
|