From 42a78aa2973ebe9689c8f8e8357e1612b30ab277 Mon Sep 17 00:00:00 2001 From: David Matthew Mattli Date: Thu, 16 Apr 2020 17:37:24 +0100 Subject: [PATCH] Fix FTBFS in sparc64 Bug-Debian: https://bugs.debian.org/806816 =================================================================== Gbp-Pq: Name fix-ftbfs-sparc64.patch --- Source/WTF/wtf/Platform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h index bdd918d757..9febd7d27a 100644 --- a/Source/WTF/wtf/Platform.h +++ b/Source/WTF/wtf/Platform.h @@ -114,6 +114,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