]> git.pld-linux.org Git - packages/crossmingw32-libxml2.git/blobdiff - crossmingw32-libxml2.spec
do not provide pkgconfig deps in system namespace
[packages/crossmingw32-libxml2.git] / crossmingw32-libxml2.spec
index e1a482bed489fe81077a2dc96e900c14c0722e4c..a7592ff76677230ab8c710379313c08f58977952 100644 (file)
@@ -3,7 +3,7 @@ Summary:        libXML library - cross MinGW32 version
 Summary(pl.UTF-8):     Biblioteka libXML wersja 2 - wersja skrośna dla MinGW32
 Name:          crossmingw32-%{realname}
 Version:       2.9.0
-Release:       1
+Release:       2
 License:       MIT
 Group:         Development/Libraries
 #Source0:      http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/%{name}-%{version}.tar.bz2
@@ -34,7 +34,15 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _dlldir                 /usr/share/wine/windows/system
 %define                __cc                    %{target}-gcc
 %define                __cxx                   %{target}-g++
-%define                filterout_ld            -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc
+%define                __pkgconfig_provides    %{nil}
+
+%ifnarch %{ix86}
+# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
+%define                optflags        -O2
+%endif
+# -z options are invalid for mingw linker, most of -f options are Linux-specific
+%define                filterout_ld    -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc
+%define                filterout_c     -f[-a-z0-9=]*
 
 %description
 This library allows you to manipulate XML files.
This page took 0.141562 seconds and 4 git commands to generate.