Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Mon, 16 Mar 2020 14:25:01 +0000 (14:25 +0000)
committerAlberto Garcia <berto@igalia.com>
Mon, 16 Mar 2020 14:25:01 +0000 (14:25 +0000)
Bug-Debian: https://bugs.debian.org/806816

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

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

Source/WTF/wtf/Platform.h

index bdd918d7575ffddb6a2f9e269fdcd61ba8ab5984..9febd7d27ad35c93273ed43edea5d59412fb11e8 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)     \