]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
don't use sse2 on i686
authorJan Palus <atler@pld-linux.org>
Mon, 28 Feb 2022 18:09:04 +0000 (19:09 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 28 Feb 2022 18:09:04 +0000 (19:09 +0100)
macros.go

index da7b3d27809f5b056c1f9eb8c4dddd0b283eef2e..2cdd8f915fbd6a9927fbc3679b95a7168b0c731b 100644 (file)
--- a/macros.go
+++ b/macros.go
 %endif \
 %ifarch %{ix86} \
        GOARCH=${GOARCH-386} \\\
+%ifarch %{x86_with_sse2} \
+       GO386=${GO386-sse2} \\\
+%else \
+       GO386=${GO386-softfloat} \\\
+%endif \
 %endif \
 %ifarch %{x8664} \
        GOARCH=${GOARCH-amd64} \\\
This page took 0.549744 seconds and 4 git commands to generate.