RISC-V: Add upstream gcc patch to fix -pthread.

Fixes libmicrohttpd build.
This commit is contained in:
Shea Levy
2018-02-26 05:24:36 -05:00
parent 6b1ab50738
commit 4728ef130e
2 changed files with 16 additions and 1 deletions
+3 -1
View File
@@ -73,7 +73,9 @@ let version = "7.3.0";
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
# target libraries and tools.
++ optional langAda ../gnat-cflags.patch
++ optional langFortran ../gfortran-driving.patch;
++ optional langFortran ../gfortran-driving.patch
# https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00633.html
++ optional targetPlatform.isRiscV ./riscv-pthread-reentrant.patch;
javaEcj = fetchurl {
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at