Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Sun, 19 Apr 2020 23:50:19 +0000 (00:50 +0100)
committerAlberto Garcia <berto@igalia.com>
Sun, 19 Apr 2020 23:50:19 +0000 (00:50 +0100)
Bug-Debian: https://bugs.debian.org/806816

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

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

Source/WTF/wtf/PlatformCPU.h

index bce23e0346d543ded69dc2a5c85f0e8b428dbe2b..2e101c2c5ee2d3ec9afe1a1fec08a72ec1f16d7a 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)     \