[packages/browsh] - trimpath
witekfl
witekfl at pld-linux.org
Tue Apr 21 11:57:34 CEST 2026
commit 70a371b3c2c7c917c18a887db0ee9a5b0225444a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Tue Apr 21 11:57:13 2026 +0200
- trimpath
browsh.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/browsh.spec b/browsh.spec
index 6a3f844..b4b3c11 100644
--- a/browsh.spec
+++ b/browsh.spec
@@ -16,7 +16,7 @@ Requires: firefox
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _enable_debug_packages 0
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**}
+%define gobuild(o:) go build -asmflags "all=-trimpath=${GOPATH}" -gcflags "all=-trimpath=${GOPATH}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**}
%define gopath %{_libdir}/golang
%define import_path github.com/browsh-org/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/browsh.git/commitdiff/70a371b3c2c7c917c18a887db0ee9a5b0225444a
More information about the pld-cvs-commit
mailing list