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}