From: David Matthew Mattli Date: Fri, 15 Dec 2023 09:58:35 +0000 (+0100) Subject: Fix FTBFS in sparc64 X-Git-Tag: archive/raspbian/2.44.2-1+rpi1^2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=04db8380acca916e0ea7e16a40d7e1c3e54f2bd1;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 e5c41a0ce6..105013ce55 100644 --- a/Source/WTF/wtf/PlatformCPU.h +++ b/Source/WTF/wtf/PlatformCPU.h @@ -95,6 +95,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) \