34 lines
971 B
Diff
34 lines
971 B
Diff
From: Michael Froman <mfroman@mozilla.com>
|
|
Date: Mon, 20 Jun 2022 22:34:00 +0000
|
|
Subject: Bug 1775143 - pt16 - (mirror) 65d11ae74c1e r=ng
|
|
|
|
(skip-generation)
|
|
|
|
Depends on D149829
|
|
|
|
Differential Revision: https://phabricator.services.mozilla.com/D149830
|
|
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ae0c945f3d38d37251ca87428c011012bea81fb2
|
|
---
|
|
build_config.h | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/build_config.h b/build_config.h
|
|
index 584b22a12..c39ae9da5 100644
|
|
--- a/build_config.h
|
|
+++ b/build_config.h
|
|
@@ -201,6 +201,15 @@
|
|
#define ARCH_CPU_RISCV64 1
|
|
#define ARCH_CPU_64_BITS 1
|
|
#define ARCH_CPU_LITTLE_ENDIAN 1
|
|
+#elif defined(__sparc__)
|
|
+#if defined(__LP64__)
|
|
+#define ARCH_CPU_SPARC64 1
|
|
+#define ARCH_CPU_64_BITS 1
|
|
+#define ARCH_CPU_BIG_ENDIAN 1
|
|
+#endif
|
|
+#define ARCH_CPU_SPARC 1
|
|
+#define ARCH_CPU_32_BITS 1
|
|
+#define ARCH_CPU_BIG_ENDIAN 1
|
|
#else
|
|
#error Please add support for your architecture in build/build_config.h
|
|
#endif
|