0010.patch (971B)
1 From: Michael Froman <mfroman@mozilla.com> 2 Date: Mon, 20 Jun 2022 22:34:00 +0000 3 Subject: Bug 1775143 - pt16 - (mirror) 65d11ae74c1e r=ng 4 5 (skip-generation) 6 7 Depends on D149829 8 9 Differential Revision: https://phabricator.services.mozilla.com/D149830 10 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ae0c945f3d38d37251ca87428c011012bea81fb2 11 --- 12 build_config.h | 9 +++++++++ 13 1 file changed, 9 insertions(+) 14 15 diff --git a/build_config.h b/build_config.h 16 index e31bc768f..fc2cbc428 100644 17 --- a/build_config.h 18 +++ b/build_config.h 19 @@ -373,6 +373,15 @@ 20 #define ARCH_CPU_RISCV64 1 21 #define ARCH_CPU_64_BITS 1 22 #define ARCH_CPU_LITTLE_ENDIAN 1 23 +#elif defined(__sparc__) 24 +#if defined(__LP64__) 25 +#define ARCH_CPU_SPARC64 1 26 +#define ARCH_CPU_64_BITS 1 27 +#define ARCH_CPU_BIG_ENDIAN 1 28 +#endif 29 +#define ARCH_CPU_SPARC 1 30 +#define ARCH_CPU_32_BITS 1 31 +#define ARCH_CPU_BIG_ENDIAN 1 32 #else 33 #error Please add support for your architecture in build/build_config.h 34 #endif