[arch-commits] Commit in go-ipfs/trunk (rb.patch)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sat Jul 17 11:30:54 UTC 2021
Date: Saturday, July 17, 2021 @ 11:30:54
Author: kpcyrd
Revision: 978323
Add repro patch to pass -trimpath instead of -gcflags and -asmflags
Added:
go-ipfs/trunk/rb.patch
----------+
rb.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
Added: rb.patch
===================================================================
--- rb.patch (rev 0)
+++ rb.patch 2021-07-17 11:30:54 UTC (rev 978323)
@@ -0,0 +1,13 @@
+diff --git a/mk/golang.mk b/mk/golang.mk
+index 0b2a2c55a..2c7f24d75 100644
+--- a/mk/golang.mk
++++ b/mk/golang.mk
+@@ -12,7 +12,7 @@ GOTFLAGS ?=
+ unexport GOFLAGS
+ # Override so we can combine with the user's go flags.
+ # Try to make building as reproducible as possible by stripping the go path.
+-override GOFLAGS += "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
++override GOFLAGS += "-trimpath"
+
+ ifeq ($(tarball-is),1)
+ GOFLAGS += -mod=vendor
More information about the arch-commits
mailing list