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 committed 2026-05-16 16:27:18 +03:00
1 parent c14cf57dde
commit 6755f98d05
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ src_unpack() {
src_compile() {
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
}
+1 -1
View File
@@ -36,7 +36,7 @@ src_unpack() {
src_compile() {
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
}