linkerd: remove unnecessary buildmode=pie

This is no longer needed now that our go produces PIE by default
This commit is contained in:
Luna Nova
2025-09-14 10:53:46 -07:00
parent 08aadbf8d4
commit ca6a37f817

View File

@@ -31,11 +31,6 @@ buildGoModule rec {
env GOFLAGS="" go generate ./jaeger/static
env GOFLAGS="" go generate ./multicluster/static
env GOFLAGS="" go generate ./viz/static
# Necessary for building Musl
if [[ $NIX_HARDENING_ENABLE =~ "pie" ]]; then
export GOFLAGS="-buildmode=pie $GOFLAGS"
fi
'';
tags = [