Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Fri, 15 Sep 2023 12:49:49 +0000 (13:49 +0100)
committerAlberto Garcia <berto@igalia.com>
Fri, 15 Sep 2023 12:49:49 +0000 (13:49 +0100)
Bug-Debian: https://bugs.debian.org/806816

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

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

Source/WTF/wtf/PlatformCPU.h

index e5c41a0ce6e7499907a495e4e28fdfc176c2dbce..105013ce55a60a508587be155900afa80302b57b 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)     \