mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
Manual.md: document go_ldflags
This commit is contained in:
parent
477241c444
commit
3aa11f5097
1 changed files with 1 additions and 0 deletions
|
@ -1637,6 +1637,7 @@ The following template variables influence how Go packages are built:
|
||||||
any go.mod files, `default` to use Go's default behavior, or anything
|
any go.mod files, `default` to use Go's default behavior, or anything
|
||||||
accepted by `go build -mod MODE`. Defaults to `vendor` if there's
|
accepted by `go build -mod MODE`. Defaults to `vendor` if there's
|
||||||
a vendor directory, otherwise `default`.
|
a vendor directory, otherwise `default`.
|
||||||
|
- `go_ldflags`: Arguments to pass to the linking steps of go tool.
|
||||||
|
|
||||||
The following environment variables influence how Go packages are built:
|
The following environment variables influence how Go packages are built:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue