[packages/crossmingw32-std-threads] - std::exception_ptr in gcc requires i486 instructions

qboosh qboosh at pld-linux.org
Fri Oct 5 17:35:25 CEST 2018


commit f02c9f178dde868bc936ae1e267af2441f7b603e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 5 17:38:48 2018 +0200

    - std::exception_ptr in gcc requires i486 instructions

 crossmingw32-std-threads.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-std-threads.spec b/crossmingw32-std-threads.spec
index cd001b3..c26b0bd 100644
--- a/crossmingw32-std-threads.spec
+++ b/crossmingw32-std-threads.spec
@@ -23,6 +23,7 @@ BuildRequires:	crossmingw32-gcc-c++ >= 1:4.7
 Requires:	crossmingw32-gcc-c++ >= 1:4.7
 Requires:	crossmingw32-runtime
 Requires:	crossmingw32-w32api
+ExcludeArch:	i386
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		no_install_post_strip	1
@@ -39,7 +40,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %ifnarch %{ix86}
 # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc.
 # now at least i486 is required for atomic operations
-%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,.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-std-threads.git/commitdiff/f02c9f178dde868bc936ae1e267af2441f7b603e



More information about the pld-cvs-commit mailing list