git: c2ea353432 - main - [phb][Uses]: Add GO_LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 May 2026 08:54:26 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/doc/commit/?id=c2ea353432d025a74eeab9bb392c074072e51bb0
commit c2ea353432d025a74eeab9bb392c074072e51bb0
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2026-05-12 08:53:21 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-05-12 08:53:21 +0000
[phb][Uses]: Add GO_LDFLAGS
Following
https://cgit.freebsd.org/ports/commit/?id=1c385d920694cd47159b27fcbd9abd25150df311
---
documentation/content/en/books/porters-handbook/uses/_index.adoc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index fa7827a1e0..3ef4415f44 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1081,6 +1081,10 @@ Additional `LDFLAGS` values to be passed to the C compiler by `go`.
`GO_BUILDFLAGS`::
Additional build arguments to be passed to `go build`.
+`GO_LDFLAGS`::
+Additional LDFLAGS variables to be passed to the `go build` command without the
+need to change `GO_BUILDFLAGS`.
+
`GO_TESTFLAGS`::
Additional build arguments to be passed to `go test`.