]> git.pld-linux.org Git - packages/golang.git/blobdiff - golang.spec
up to 1.18.8
[packages/golang.git] / golang.spec
index ffcdd5db66a359617163c222af9d105257423955..c81502e8a2c0c6b23af34d1c8bb8d43bf2874939 100644 (file)
 Summary:       Go compiler and tools
 Summary(pl.UTF-8):     Kompilator języka Go i narzędzia
 Name:          golang
-Version:       1.17.6
+Version:       1.18.8
 Release:       1
 # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
 License:       BSD and Public Domain
 Group:         Development/Languages
 # Source0Download: https://golang.org/dl/
 Source0:       https://storage.googleapis.com/golang/go%{version}.src.tar.gz
-# Source0-md5: dc57f93f323e9f8189e5ffc1f223e346
+# Source0-md5: 4da6e6a0f709a4fe9f5b1033a8439a09
 Patch0:                ca-certs.patch
 Patch1:                0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
 URL:           https://golang.org/
@@ -160,7 +160,14 @@ export GOHOSTARCH=%{GOARCH}
 export GOOS=linux
 export GOARCH=%{GOARCH}
 %{?GOARM:export GOARM=%{GOARM}}
-%if %{without external_linker}
+%ifarch %{ix86}
+%ifarch %{x86_with_sse2}
+export GO386=sse2
+%else
+export GO386=softfloat
+%endif
+%endif
+%if %{without ext_linker}
 export GO_LDFLAGS="-linkmode internal"
 %endif
 %if %{with cgo}
This page took 0.069516 seconds and 4 git commands to generate.