about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLouis Opter <louis@opter.org>2023-12-15 09:31:00 -0800
committerGitHub <noreply@github.com>2023-12-15 09:31:00 -0800
commit2e3c2705b98351bc95d01d42ab535f3dc230c593 (patch)
treebc50ff8bcb07f12b1ee9c98b3ccdc3d2aeb7bf3a /pkgs
parentd17c5a31dc5bba829599ac044b5903f5e21f36fd (diff)
downloadnixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar.gz
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar.bz2
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar.lz
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar.xz
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.tar.zst
nixlib-2e3c2705b98351bc95d01d42ab535f3dc230c593.zip
Remove "-s" and "-w" from the ldflags example
The go linker `-s` and `-w` flags respectively are for:

- Omit the symbol table and debug information.
- Omit the DWARF symbol table.

Those actions should be delegated to the fixup build phase instead.

See: https://discourse.nixos.org/t/why-do-so-many-go-packages-use-s-w-in-their-ldflags-it-breaks-dontfixup-dontstrip/36843
Diffstat (limited to 'pkgs')
0 files changed, 0 insertions, 0 deletions