[packages/rpm-pld-macros] don't use sse2 on i686

atler atler at pld-linux.org
Mon Feb 28 23:34:48 CET 2022


commit 549e8af57e755a823ce87d36e31b7a484558e157
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 28 19:09:04 2022 +0100

    don't use sse2 on i686

 macros.go | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/macros.go b/macros.go
index da7b3d2..2cdd8f9 100644
--- a/macros.go
+++ b/macros.go
@@ -25,6 +25,11 @@
 %endif \
 %ifarch %{ix86} \
 	GOARCH=${GOARCH-386} \\\
+%ifarch %{x86_with_sse2} \
+	GO386=${GO386-sse2} \\\
+%else \
+	GO386=${GO386-softfloat} \\\
+%endif \
 %endif \
 %ifarch %{x8664} \
 	GOARCH=${GOARCH-amd64} \\\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/549e8af57e755a823ce87d36e31b7a484558e157



More information about the pld-cvs-commit mailing list