dev-util/minify: don't strip the binary via ldflags

Closes: https://bugs.gentoo.org/974975
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-05-15 21:25:32 +03:00
parent c14cf57dde
commit 6755f98d05
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ src_unpack() {
src_compile() { src_compile() {
ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \ ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \
"-s -w -linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \ "-linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \
-o _minify ./cmd/minify -o _minify ./cmd/minify
} }

View File

@@ -36,7 +36,7 @@ src_unpack() {
src_compile() { src_compile() {
ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \ ego build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags \
"-s -w -linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \ "-linkmode external -extldflags \"${LDFLAGS}\" -X 'main.Version=${PV}'" \
-o _minify ./cmd/minify -o _minify ./cmd/minify
} }