tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gcc: Unconditionally add some upstream RISC-V patches.
Shea Levy
7 years ago
a1ede569
519f0b8d
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
gcc
7
default.nix
+6
-4
pkgs/development/compilers/gcc/7/default.nix
···
57
enableParallelBuilding = true;
58
59
patches =
60
-
[ ]
0
0
0
0
61
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
62
++ optional noSysDirs ../no-sys-dirs.patch
63
++ optional (hostPlatform != buildPlatform) (fetchpatch { # XXX: Refine when this should be applied
64
url = "https://git.busybox.net/buildroot/plain/package/gcc/7.1.0/0900-remove-selftests.patch?id=11271540bfe6adafbc133caf6b5b902a816f5f02";
65
sha256 = "0mrvxsdwip2p3l17dscpc1x8vhdsciqw1z5q9i6p5g9yg1cqnmgs";
66
})
67
-
++ optional langFortran ../gfortran-driving.patch
68
-
# https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00633.html
69
-
++ optional targetPlatform.isRiscV ./riscv-pthread-reentrant.patch;
70
71
javaEcj = fetchurl {
72
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
···
57
enableParallelBuilding = true;
58
59
patches =
60
+
[ # https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00633.html
61
+
./riscv-pthread-reentrant.patch
62
+
# https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00297.html
63
+
./riscv-no-relax.patch
64
+
]
65
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
66
++ optional noSysDirs ../no-sys-dirs.patch
67
++ optional (hostPlatform != buildPlatform) (fetchpatch { # XXX: Refine when this should be applied
68
url = "https://git.busybox.net/buildroot/plain/package/gcc/7.1.0/0900-remove-selftests.patch?id=11271540bfe6adafbc133caf6b5b902a816f5f02";
69
sha256 = "0mrvxsdwip2p3l17dscpc1x8vhdsciqw1z5q9i6p5g9yg1cqnmgs";
70
})
71
+
++ optional langFortran ../gfortran-driving.patch;
0
0
72
73
javaEcj = fetchurl {
74
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at