From aef0043c4716c76ae76e044940a77d55e6f86087 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 2 Sep 2018 17:24:54 +0200 Subject: [PATCH] - needs i486 atomic instructions and pthread-w32 library --- crossmingw32-harfbuzz.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crossmingw32-harfbuzz.spec b/crossmingw32-harfbuzz.spec index d4732c5..f5878a9 100644 --- a/crossmingw32-harfbuzz.spec +++ b/crossmingw32-harfbuzz.spec @@ -16,11 +16,13 @@ BuildRequires: automake >= 1:1.11.1 BuildRequires: crossmingw32-freetype >= 2.9 BuildRequires: crossmingw32-glib2 >= 2.38 BuildRequires: crossmingw32-gcc-c++ >= 1:4.7 +BuildRequires: crossmingw32-pthreads-w32 BuildRequires: libtool >= 2:2.2 BuildRequires: pkgconfig >= 1:0.20 Requires: crossmingw32-freetype >= 2.9 Requires: crossmingw32-glib2 >= 2.38 Requires: crossmingw32-gcc-c++ >= 1:4.7 +Requires: crossmingw32-pthreads-w32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # see , the real horror @@ -43,7 +45,7 @@ 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 +%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