[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: options: Remove tool path to allow for reproducible builds
From: |
Richard Purdie |
Subject: |
Re: options: Remove tool path to allow for reproducible builds |
Date: |
Tue, 05 Jul 2022 15:25:08 +0100 |
User-agent: |
Evolution 3.44.1-0ubuntu1 |
On Tue, 2022-07-05 at 07:56 +0200, Bruno Haible wrote:
> 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
Looks good, thanks! I've updated the patch being used in the Yocto
Project to match so we can help give it a little wider testing.
Cheers,
Richard