[packages/crossmingw32-fontconfig] - enable i486 atomic operations
qboosh
qboosh at pld-linux.org
Thu Apr 7 21:13:58 CEST 2022
commit 0f97f173e075e6b092fc3fbcb58de922d0862926
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 7 21:13:54 2022 +0200
- enable i486 atomic operations
crossmingw32-fontconfig.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-fontconfig.spec b/crossmingw32-fontconfig.spec
index 636208e..af36439 100644
--- a/crossmingw32-fontconfig.spec
+++ b/crossmingw32-fontconfig.spec
@@ -41,7 +41,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%ifnarch %{ix86}
# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
-%define optflags -O2
+# i486 instructions required for atomic operations
+%define optflags -O2 -march=i486
%endif
# -z options are invalid for mingw linker, most of -f options are Linux-specific
%define filterout_ld -Wl,-z,.*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-fontconfig.git/commitdiff/0f97f173e075e6b092fc3fbcb58de922d0862926
More information about the pld-cvs-commit
mailing list