[mingw32-runtime] Build without -fexceptions (#629209)
Kalev Lember
kalev at fedoraproject.org
Tue May 10 16:16:31 UTC 2011
commit ae21a9a88539936faa7fbb45324a339e1bb2437b
Author: Kalev Lember <kalev at smartlink.ee>
Date: Tue May 10 16:53:39 2011 +0300
Build without -fexceptions (#629209)
mingw32-runtime.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec
index 69fb6f5..aaecd6e 100644
--- a/mingw32-runtime.spec
+++ b/mingw32-runtime.spec
@@ -6,7 +6,7 @@
Name: mingw32-runtime
Version: 3.18
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows cross-compiler runtime
License: Public Domain
@@ -36,7 +36,10 @@ MinGW Windows cross-compiler runtime, base libraries.
%build
-MINGW32_CFLAGS="%{_mingw32_cflags} -I%{_mingw32_includedir}"
+# Filter out -fexceptions to work around _gthread_key_create related
+# linking errors described at:
+# https://bugzilla.redhat.com/show_bug.cgi?id=629209
+MINGW32_CFLAGS="`echo %{_mingw32_cflags} | sed 's/-fexceptions //'` -I%{_mingw32_includedir}"
%{_mingw32_configure}
%{_mingw32_make}
@@ -65,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue May 10 2011 Kalev Lember <kalev at smartlink.ee> - 3.18-3
+- Build without -fexceptions (#629209)
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the mingw
mailing list