From 0f97f173e075e6b092fc3fbcb58de922d0862926 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 7 Apr 2022 21:13:54 +0200 Subject: [PATCH] - 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,.* -- 2.44.0