gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / mingw-w64-dlltool-temp-prefix.patch
CommitLineData
4719b715
CD
1This following patch was originally found at the debian mingw-w64 team's
2mingw-w64 repo located here:
3https://salsa.debian.org/mingw-w64-team/mingw-w64.git
4
5Invoke the following in the aforementioned repo to see the original patch:
6
7 $ git show 4974e2c:debian/patches/dlltool-temp-prefix.patch
8
9Description: Specify dlltool's temp prefix
10Author: Stephen Kitt <steve@sk2.org>
11
12By default dlltool uses its pid for the object files it generates.
13Enforcing its temp prefix allows the files it generates to be
14reproducible.
15
16--- a/mingw-w64-crt/Makefile.am
17+++ b/mingw-w64-crt/Makefile.am
18@@ -36,7 +36,7 @@
19 DTDEF32=$(GENLIB) $(DLLTOOLFLAGS32) $(AM_DLLTOOLFLAGS)
20 DTDEF64=$(GENLIB) $(DLLTOOLFLAGS64) $(AM_DLLTOOLFLAGS)
21 else
22- AM_DLLTOOLFLAGS=-k --as=$(AS) --output-lib $@
23+ AM_DLLTOOLFLAGS=-k --as=$(AS) --output-lib $@ --temp-prefix $$(basename $@ .a)
24 DLLTOOLFLAGSARM32=-m arm
25 DLLTOOLFLAGSARM64=-m arm64
26 DLLTOOLFLAGS32=--as-flags=--32 -m i386