mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
4728ef130e
Fixes libmicrohttpd build.
14 lines
379 B
Diff
14 lines
379 B
Diff
Index: gcc/config/riscv/linux.h
|
|
===================================================================
|
|
--- a/gcc/config/riscv/linux.h (revision 257620)
|
|
+++ b/gcc/config/riscv/linux.h (revision 257621)
|
|
@@ -47,6 +47,8 @@
|
|
|
|
#define ICACHE_FLUSH_FUNC "__riscv_flush_icache"
|
|
|
|
+#define CPP_SPEC "%{pthread:-D_REENTRANT}"
|
|
+
|
|
#define LINK_SPEC "\
|
|
-melf" XLEN_SPEC "lriscv \
|
|
%{shared} \
|