From 0e52717c912f30c222cd7fc288a0388ea5fcd627 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Thu, 26 Dec 2024 18:02:56 +0100 Subject: [PATCH] net-misc/q: Migrate to ego Signed-off-by: Nils Freydank --- net-misc/q/{q-0.19.2-r1.ebuild => q-0.19.2-r2.ebuild} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename net-misc/q/{q-0.19.2-r1.ebuild => q-0.19.2-r2.ebuild} (93%) diff --git a/net-misc/q/q-0.19.2-r1.ebuild b/net-misc/q/q-0.19.2-r2.ebuild similarity index 93% rename from net-misc/q/q-0.19.2-r1.ebuild rename to net-misc/q/q-0.19.2-r2.ebuild index f61c361..dcb5b14 100644 --- a/net-misc/q/q-0.19.2-r1.ebuild +++ b/net-misc/q/q-0.19.2-r2.ebuild @@ -35,14 +35,13 @@ KEYWORDS="~amd64" src_compile() { export CGO_ENABLED=0 - # Flags -w, -s: Omit debugging information to reduce binary size, # see https://golang.org/cmd/link/. local mygobuildargs=( - -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID} -s -w" + -ldflags="-X ${EGO_PN}/config.GitCommit=${COMMIT_ID} -w -s" -mod mod -v -work -x ) - go build "${mygobuildargs[@]}" . || die "go build failed" + ego build "${mygobuildargs[@]}" . } src_install() {