Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Tue, 31 May 2022 08:54:46 +0000 (09:54 +0100)
committerAlberto Garcia <berto@igalia.com>
Tue, 31 May 2022 08:54:46 +0000 (09:54 +0100)
Bug-Debian: https://bugs.debian.org/806816

===================================================================

Gbp-Pq: Name fix-ftbfs-sparc64.patch

Source/WTF/wtf/PlatformCPU.h

index 238334178676b961da1571987b9c4336b8e3d8fe..10491cb1a5aab5b90a4d331b140e052b1c93a96d 100644 (file)
 #define WTF_CPU_KNOWN 1
 #endif
 
+/* CPU(SPARC64) - sparc64 */
+#if defined(__sparc__) && defined(__sparc_v9__)
+#define WTF_CPU_BIG_ENDIAN 1
+#endif
+
 /* CPU(X86) - i386 / x86 32-bit */
 #if   defined(__i386__) \
     || defined(i386)     \