* [PATCH] Enable dlltool's -t option
@ 2015-05-11 20:57 Stephen Kitt
2015-05-12 10:18 ` Nicholas Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Kitt @ 2015-05-11 20:57 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
Hi,
I noticed that dlltool supports a -t option to set tmp_prefix, but the list
of options passed to getopt_long() doesn't include "t:" so the option is
inaccessible. I'd like to use this in Debian to facilitate reproducible builds
of software building import libraries (e.g. mingw-w64).
The following patch enables the option.
Signed-off-by: Stephen Kitt <steve@sk2.org>
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index be08227..c9f7806 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -4091,9 +4091,9 @@ main (int ac, char **av)
while ((c = getopt_long (ac, av,
#ifdef DLLTOOL_MCORE_ELF
- "m:e:l:aD:d:z:b:xp:cCuUkAS:f:nI:vVHhM:L:F:",
+ "m:e:l:aD:d:z:b:xp:cCuUkAS:t:f:nI:vVHhM:L:F:",
#else
- "m:e:l:y:aD:d:z:b:xp:cCuUkAS:f:nI:vVHh",
+ "m:e:l:y:aD:d:z:b:xp:cCuUkAS:t:f:nI:vVHh",
#endif
long_options, 0))
!= EOF)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Enable dlltool's -t option
2015-05-11 20:57 [PATCH] Enable dlltool's -t option Stephen Kitt
@ 2015-05-12 10:18 ` Nicholas Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Clifton @ 2015-05-12 10:18 UTC (permalink / raw)
To: Stephen Kitt, binutils
Hi Stephen,
> I noticed that dlltool supports a -t option to set tmp_prefix, but the list
> of options passed to getopt_long() doesn't include "t:" so the option is
> inaccessible. I'd like to use this in Debian to facilitate reproducible builds
> of software building import libraries (e.g. mingw-w64).
>
> The following patch enables the option.
Thanks for the problem report and patch. I have checked your patch in
along with this changelog entry.
Cheers
Nick
binutils/ChangeLog
2015-05-12 Stephen Kitt <steve@sk2.org>
* dlltool.c (main): Accept -t as an abbreviation for
--temp-prefix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-12 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 20:57 [PATCH] Enable dlltool's -t option Stephen Kitt
2015-05-12 10:18 ` Nicholas Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).