From ebc6270da185bcfa24bf84513d0a5c75a3f17d7e Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Tue, 22 Oct 2024 13:22:35 +0000 Subject: [PATCH] 0.136.4 --- hugo.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hugo.spec b/hugo.spec index efe9519..6ea8c42 100644 --- a/hugo.spec +++ b/hugo.spec @@ -22,7 +22,9 @@ bep, spf13, and friends in Go. %build export GOPROXY=https://proxy.golang.org/cached-only -CGO_ENABLED=1 go build -ldflags '-s -w' -o ./bin/%{name} . +#CGO_ENABLED=1 go build -ldflags '-s -w' -o ./bin/%{name} . +CGO_ENABLED=1 go build -ldflags '-s -w' -tags extended -o ./bin/%{name} . + upx bin/%{name}