From: LLVM Packaging Team Date: Wed, 18 Dec 2024 09:01:43 +0000 (+0100) Subject: syscall-mips64el-def X-Git-Tag: archive/raspbian/1%19.1.7-1+rpi1^2^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db3d6a83e5dc483b42f9bfee01b760020cbb8db4;p=llvm-toolchain-19.git syscall-mips64el-def =================================================================== Gbp-Pq: Topic mips Gbp-Pq: Name syscall-mips64el-def.diff --- diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c index 2ac99b25c2..830b24c895 100644 --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/lib/builtins/clear_cache.c @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#if defined(__linux__) && defined(__mips__) +// Otherwise, the build fails as it cannot find syscall +#define _GNU_SOURCE +#endif + #include "int_lib.h" #if defined(__linux__) #include