Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Wed, 30 Oct 2024 21:57:37 +0000 (22:57 +0100)
committerAlberto Garcia <berto@igalia.com>
Wed, 30 Oct 2024 21:57:37 +0000 (22:57 +0100)
Bug-Debian: https://bugs.debian.org/806816

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

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

Source/WTF/wtf/PlatformCPU.h

index ca328a202f72b46f0a5fb5d950e42a863ca2d43f..a66a5fcf3eb251084f8ec131404a71e13adee4b8 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)     \