Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Thu, 3 Apr 2025 20:45:28 +0000 (20:45 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 3 Apr 2025 20:45:28 +0000 (20:45 +0000)
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)     \