tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gcc5: patch for musl compat/support
Will Dietz
8 years ago
7eba45d0
4a605161
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
gcc
5
default.nix
+6
-2
pkgs/development/compilers/gcc/5/default.nix
···
1
1
-
{ stdenv, targetPackages, fetchurl, noSysDirs
1
1
+
{ stdenv, targetPackages, fetchurl, fetchpatch, noSysDirs
2
2
, langC ? true, langCC ? true, langFortran ? false
3
3
, langObjC ? targetPlatform.isDarwin
4
4
, langObjCpp ? targetPlatform.isDarwin
···
74
74
75
75
# This could be applied unconditionally but I don't want to cause a full
76
76
# Linux rebuild.
77
77
-
++ optional stdenv.cc.isClang ./libcxx38-and-above.patch;
77
77
+
++ optional stdenv.cc.isClang ./libcxx38-and-above.patch
78
78
+
++ optional stdenv.hostPlatform.isMusl (fetchpatch {
79
79
+
url = https://raw.githubusercontent.com/richfelker/musl-cross-make/e84b1bd1fc12a3def33111ca6df522cd6e5ec361/patches/gcc-5.3.0/0001-musl.diff;
80
80
+
sha256 = "0pppbf8myi2kjhm3z3479ihn1cm60kycfv60gj8yy1bs0pl1qcfm";
81
81
+
});
78
82
79
83
javaEcj = fetchurl {
80
84
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at