diff options
author | Jakob Unterwurzacher | 2018-12-16 20:39:01 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-12-16 20:39:01 +0100 |
commit | bf241ce77e838ec714a3b40be3c66cfd225f3e93 (patch) | |
tree | 18152b703038445659a4e24909ae099957dca432 /mount.go | |
parent | d32c1492664645078801d81fbfd7f8b7a469bcc5 (diff) |
build.bash: use -trimpath for reproducible builds
Support both Go 1.7...1.9 and Go 1.10 by checking the
version and using the appropropriate syntax.
We trim GOPATH/src and use both -gcflags and -asmflags like Debian does in
https://salsa.debian.org/go-team/packages/dh-golang/blob/ab2bbcfc00b1229066cc3d3d1195ac901a2b9411/lib/Debian/Debhelper/Buildsystem/golang.pm#L465 .
Diffstat (limited to 'mount.go')
0 files changed, 0 insertions, 0 deletions