syscall-mips64el-def
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Mon, 11 Sep 2023 13:40:42 +0000 (14:40 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 11 Sep 2023 13:40:42 +0000 (14:40 +0100)
===================================================================

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

compiler-rt/lib/builtins/clear_cache.c

index 8993761eb3d42c85c8a24ee908a6db4cee898d51..2c43e84a186cd7ab63dfd58f800aa3e7cdb85bf5 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>