diff --git a/app-misc/zk/zk-0.14.1.ebuild b/app-misc/zk/zk-0.14.1-r1.ebuild similarity index 96% rename from app-misc/zk/zk-0.14.1.ebuild rename to app-misc/zk/zk-0.14.1-r1.ebuild index 194e394..0fec112 100644 --- a/app-misc/zk/zk-0.14.1.ebuild +++ b/app-misc/zk/zk-0.14.1-r1.ebuild @@ -81,11 +81,16 @@ DOCS=( ) src_compile() { + export CGO_ENABLE=1 + # Flags -w, -s: Omit debugging information to reduce binary size, # see https://golang.org/cmd/link/. local mygobuildargs=( + -buildmode=pie + -mod readonly + -modcacherw -ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w" - -mod mod -v -work -x + -v -work -x -tags "fts5" )