summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_common_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-12-16 20:39:01 +0100
committerJakob Unterwurzacher2018-12-16 20:39:01 +0100
commitbf241ce77e838ec714a3b40be3c66cfd225f3e93 (patch)
tree18152b703038445659a4e24909ae099957dca432 /internal/syscallcompat/sys_common_test.go
parentd32c1492664645078801d81fbfd7f8b7a469bcc5 (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 'internal/syscallcompat/sys_common_test.go')
0 files changed, 0 insertions, 0 deletions