[Buildroot] [PATCH v2 1/1] package/pkg-golang: enable trimpath option for reproducible builds

Peter Korsgaard peter at korsgaard.com
Sun Dec 8 07:42:49 UTC 2019

>>>>> "Christian" == Christian Stewart <christian at paral.in> writes:

 > The -trimpath option removes absolute build paths from the target binary. This
 > results in more consistent / reproducible builds across different systems with
 > varying paths to Buildroot.

 > Signed-off-by: Christian Stewart <christian at paral.in>
 > ---

 > v1 -> v2:
 >  - Fixed indentation on trimpath

Committed after extending the commit message to clarify that this is a
new feature in go 1.13, so we shouldn't backport this to 2019.02.x.

Bye, Peter Korsgaard

More information about the buildroot mailing list