[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: options: Remove tool path to allow for reproducible builds
From: |
Bruno Haible |
Subject: |
Re: options: Remove tool path to allow for reproducible builds |
Date: |
Tue, 05 Jul 2022 07:56:18 +0200 |
Hi,
Richard Purdie wrote:
> By default gperf puts a header into generated files with the full path to
> the tool along with the commandline used. This patch removes the path to
> the binary which is arg[0]. This is so that build paths aren't encoded
> into source file output which allows for reproducible builds.
That's a nice improvement; thanks for the suggestion.
I took a different implementation, so that the change also works on Windows.
https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commitdiff;h=1862c6e57a308a05889c80c048dbc58bdc378dcb
Bruno