Source: mingw-w64
Version: 11.0.1-2
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source

Hello!

The mingw-w64 build failed in buildd , we should add loongarch support
for this . Please help to fix this problem .

Thanks,
JiaLing

[1] 
https://buildd.debian.org/status/fetch.php?pkg=mingw-w64&arch=loong64&ver=11.0.1-2&stamp=1692597666&raw=0
Description: Add loongarch support
Author: JiaLing Zhang <zhangjial...@loongson.cn>

--- mingw-w64-11.0.1.orig/mingw-w64-tools/widl/include/basetsd.h
+++ mingw-w64-11.0.1/mingw-w64-tools/widl/include/basetsd.h
@@ -331,6 +331,8 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY
 # define WORDS_BIGENDIAN
 #elif defined(__hppa__)
 # undef  WORDS_BIGENDIAN
+#elif defined(__loongarch__) && defined(__loongarch64)
+# undef  WORDS_BIGENDIAN
 #elif defined(__m68k__)
 # define WORDS_BIGENDIAN
 #elif defined(__riscv) && __riscv_xlen == 64

Reply via email to