%endif \
%ifarch %{ix86} \
GOARCH=${GOARCH-386} \\\
+%ifarch %{x86_with_sse2} \
+ GO386=${GO386-sse2} \\\
+%else \
+ GO386=${GO386-softfloat} \\\
+%endif \
%endif \
%ifarch %{x8664} \
GOARCH=${GOARCH-amd64} \\\
%ifarch mips mips64 ppc64 ppc64le riscv64 s390x \
GOARCH=${GOARCH-%{_arch}} \\\
%endif \
- %{?go_cachedir:GOCACHE="%{go_cachedir}"} \\\
+ %{?go_cachedir:GOCACHE="${GOCACHE-%{go_cachedir}}"} \\\
%{?__jobs:GOMAXPROCS=%{__jobs}} \\\
GOOS=${GOOS-linux} \\\
/usr/bin/go