[arch-commits] Commit in croc/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Jan 15 13:34:14 UTC 2020


    Date: Wednesday, January 15, 2020 @ 13:34:14
  Author: jelle
Revision: 552611

make build reproducible by not recording the build path

Modified:
  croc/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 12:13:16 UTC (rev 552610)
+++ PKGBUILD	2020-01-15 13:34:14 UTC (rev 552611)
@@ -17,7 +17,7 @@
 
 build() {
     cd "${pkgname}-${pkgver}"
-    go build -mod vendor -ldflags "-extldflags ${LDFLAGS}" -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -o "${pkgname}"
+    go build -mod vendor -ldflags "-extldflags ${LDFLAGS}" -trimpath -o "${pkgname}"
 }
 
 check() {



More information about the arch-commits mailing list