From 114df5f0a54b4a6066d2e0cf5b14211a81484899 Mon Sep 17 00:00:00 2001 From: David Matthew Mattli Date: Tue, 22 Oct 2024 13:22:44 +0200 Subject: [PATCH] Fix FTBFS in sparc64 Bug-Debian: https://bugs.debian.org/806816 =================================================================== Gbp-Pq: Name fix-ftbfs-sparc64.patch --- Source/WTF/wtf/PlatformCPU.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/WTF/wtf/PlatformCPU.h b/Source/WTF/wtf/PlatformCPU.h index ca328a202..a66a5fcf3 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) \ -- 2.30.2