nvidiaCtkPackages: fix misinterpreted ldflags
eeb1b2ffec
has completely misinterpreted the flags
This commit is contained in:
parent
55ae7a91b6
commit
a14694db37
@ -78,9 +78,11 @@ buildGoModule rec {
|
||||
# https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/blob/03cbf9c6cd26c75afef8a2dd68e0306aace80401/Makefile#L64
|
||||
ldflags = [
|
||||
"-extldflags=-Wl,-z,lazy" # May be redunandant, cf. `man ld`: "Lazy binding is the default".
|
||||
"--strip-all" # May be redundant. Upstream: "-s".
|
||||
# Omitting the upstream flag: "-w" (suppresses errors and warnings).
|
||||
"--discard-locals" # May be redundant. Upstream: "-X".
|
||||
"-s" # "disable symbol table"
|
||||
"-w" # "disable DWARF generation"
|
||||
|
||||
# "-X name=value"
|
||||
"-X"
|
||||
"${cliVersionPackage}.version=${version}"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user