dist: build with -trimpath
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
847b667489
commit
66ec0d882f
2
dist/release.sh
vendored
2
dist/release.sh
vendored
@ -8,7 +8,7 @@ mkdir -p "${out}"
|
||||
cp -v "README.md" "dist/fsurc.default" "dist/install.sh" "${out}"
|
||||
cp -rv "comp" "${out}"
|
||||
|
||||
go build -v -o "${out}/bin/" -ldflags "-s -w
|
||||
go build -trimpath -v -o "${out}/bin/" -ldflags "-s -w
|
||||
-X git.gensokyo.uk/security/fortify/internal.Version=${VERSION}
|
||||
-X git.gensokyo.uk/security/fortify/internal.Fsu=/usr/bin/fsu
|
||||
-X git.gensokyo.uk/security/fortify/internal.Finit=/usr/libexec/fortify/finit
|
||||
|
Loading…
Reference in New Issue
Block a user