git: c2ea353432 - main - [phb][Uses]: Add GO_LDFLAGS
Fernando Apesteguía <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=c2ea353432d025a74eeab9bb392c074072e51bb0 commit c2ea353432d025a74eeab9bb392c074072e51bb0 Author: Fernando Apesteguía <[email protected]> AuthorDate: 2026-05-12 08:53:21 +0000 Commit: Fernando Apesteguía <[email protected]> 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`.