diff options
| author | Luna Nova <git@lunnova.dev> | 2025-11-05 07:30:38 -0800 |
|---|---|---|
| committer | Luna Nova <git@lunnova.dev> | 2025-11-06 08:00:41 -0800 |
| commit | 4d1d61c75c703c1c0cd03de5cad69e63f4c563b0 (patch) | |
| tree | a27411bcbe89b85498920f5fd67cd069b72fac62 /pkgs/development/python-modules/rangehttpserver | |
| parent | 7e415ae00801f1b3acecf1c9c71a4a8dcf76fb3e (diff) | |
go: set buildmode=exe when CGO_ENABLED=0
To avoid breaking previous documented[^1] behavior of CGO_ENABLED=0
producing fully static binaries we set buildmode=exe. Sadly go
does not support static-pie binaries so this means these packages
lose ASLR.
This is likely to be revisited after branch-off, as
go packages in the main package set with CGO_ENABLED=0 not having
ASLR is not good security posture in the long term and makes
go packages inconsistent with other languages.
[1]: See #var-go-CGO_ENABLED
Fixes: #456953
Fixes: 08aadbf8d4dbdab061b455e3181b16046445b48b
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
