From: David Matthew Mattli Date: Tue, 21 Sep 2021 16:16:51 +0000 (+0100) Subject: Fix FTBFS in sparc64 X-Git-Tag: archive/raspbian/2.34.1-1_deb11u1+rpi1~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c72e44df53e8f546b0fcec8da2afa7c6b32b8f42;p=webkit2gtk.git Fix FTBFS in sparc64 Bug-Debian: https://bugs.debian.org/806816 =================================================================== Gbp-Pq: Name fix-ftbfs-sparc64.patch --- diff --git a/Source/WTF/wtf/PlatformCPU.h b/Source/WTF/wtf/PlatformCPU.h index 0e711de3a0..f6e9339797 100644 --- a/Source/WTF/wtf/PlatformCPU.h +++ b/Source/WTF/wtf/PlatformCPU.h @@ -89,6 +89,11 @@ #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) \