nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1Index: gcc/config/riscv/linux.h
2===================================================================
3--- a/gcc/config/riscv/linux.h (revision 257620)
4+++ b/gcc/config/riscv/linux.h (revision 257621)
5@@ -47,6 +47,8 @@
6
7 #define ICACHE_FLUSH_FUNC "__riscv_flush_icache"
8
9+#define CPP_SPEC "%{pthread:-D_REENTRANT}"
10+
11 #define LINK_SPEC "\
12 -melf" XLEN_SPEC "lriscv \
13 %{shared} \