syscall-mips64el-def
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 14 Jan 2025 13:16:47 +0000 (14:16 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 14 Jan 2025 13:16:47 +0000 (14:16 +0100)
===================================================================

Gbp-Pq: Topic mips
Gbp-Pq: Name syscall-mips64el-def.diff

compiler-rt/lib/builtins/clear_cache.c

index 2ac99b25c243f0e1a9580742f63203c812d13283..830b24c895015afc52bf6c9d115e12432fd3ac1e 100644 (file)
@@ -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 <assert.h>