gnu: cross-base: Add mingw-w64 specific binutils patches.
authorCarl Dong <contact@carldong.me>
Tue, 24 Mar 2020 19:39:06 +0000 (15:39 -0400)
committerCarl Dong <contact@carldong.me>
Thu, 2 Apr 2020 21:59:53 +0000 (17:59 -0400)
commit79825bee07fceb781efc40a8c56a85aac13bba5a
tree6e4426eb273711bf96196e3ada9e776acf501af3
parent5517750344be05c91bc2979c1a0e2348a9ae902d
gnu: cross-base: Add mingw-w64 specific binutils patches.

These patches were originally found at the debian mingw-w64 team's
binutils repo, and should improve the reproducibility of our mingw-w64
toolchain.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
New file.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Apply relevant patches
if target is mingw-w64.
(package-with-extra-patches): New procedure.
gnu/local.mk
gnu/packages/cross-base.scm
gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch [new file with mode: 0755]
gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch [new file with mode: 0755]