|
|
|
@ -61,7 +61,13 @@ let majorVersion = "4"; |
|
|
|
|
inherit (stdenv) buildPlatform hostPlatform targetPlatform; |
|
|
|
|
|
|
|
|
|
patches = |
|
|
|
|
[ ../use-source-date-epoch.patch ../parallel-bconfig.patch ./parallel-strsignal.patch ] |
|
|
|
|
[ ../use-source-date-epoch.patch ../parallel-bconfig.patch ./parallel-strsignal.patch |
|
|
|
|
(fetchpatch { |
|
|
|
|
name = "avoid-ustat-glibc-2.28.patch"; |
|
|
|
|
url = "https://gitweb.gentoo.org/proj/gcc-patches.git/plain/4.9.4/gentoo/100_all_avoid-ustat-glibc-2.28.patch?id=55fcb515620a8f7d3bb77eba938aa0fcf0d67c96"; |
|
|
|
|
sha256 = "0b32sb4psv5lq0ij9fwhi1b4pjbwdjnv24nqprsk14dsc6xmi1g0"; |
|
|
|
|
}) |
|
|
|
|
] |
|
|
|
|
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch |
|
|
|
|
++ optional noSysDirs ../no-sys-dirs.patch |
|
|
|
|
++ optional langFortran ../gfortran-driving.patch |
|
|
|
|