webkit2gtk3/0001-webkitgtk-add-loongarch.patch
Jingyun Hua 26086d4f9d Add support loongarch
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 17e8489ba1ba53ebe0316bafa70941857238dfc4)
2022-11-25 14:44:06 +08:00

12 lines
715 B
Diff

--- webkitgtk-2.28.4.orig/Source/WTF/wtf/dtoa/utils.h 2020-02-04 10:24:07.000000000 +0000
+++ webkitgtk-2.28.4/Source/WTF/wtf/dtoa/utils.h 2021-01-20 05:38:56.527343750 +0000
@@ -86,7 +86,7 @@ int main(int argc, char** argv) {
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
- defined(__SH4__) || defined(__alpha__) || \
+ defined(__SH4__) || defined(__alpha__) || defined(__loongarch64) || \
defined(_MIPS_ARCH_MIPS32R2) || \
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \