Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Thu, 16 Apr 2020 16:37:24 +0000 (17:37 +0100)
committerAlberto Garcia <berto@igalia.com>
Thu, 16 Apr 2020 16:37:24 +0000 (17:37 +0100)
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)     \