From 5d8dd514bd5beaaf274e832cdda00d2b26a09021 Mon Sep 17 00:00:00 2001 From: David Matthew Mattli Date: Mon, 4 Nov 2019 09:08:53 +0000 Subject: [PATCH] Fix FTBFS in sparc64 =================================================================== 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 0e6faaa8b1..cdb7516242 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