mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user