aboutsummaryrefslogtreecommitdiff
path: root/.builds/musl-riscv64.diff
diff options
context:
space:
mode:
Diffstat (limited to '.builds/musl-riscv64.diff')
-rw-r--r--.builds/musl-riscv64.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/.builds/musl-riscv64.diff b/.builds/musl-riscv64.diff
new file mode 100644
index 0000000..ec72afa
--- /dev/null
+++ b/.builds/musl-riscv64.diff
@@ -0,0 +1,16 @@
+--- bits/signal.h.orig
++++ bits/signal.h
+@@ -19,7 +19,12 @@
+ };
+
+ struct __riscv_mc_q_ext_state {
+- unsigned long long __f[64] __attribute__((aligned(16)));
++#if __STDC_VERSION__ >= 201112L
++ _Alignas(16)
++#else
++ __attribute__((__aligned__(16)))
++#endif
++ unsigned long long __f[64];
+ unsigned int __fcsr;
+ unsigned int __reserved[3];
+ };