[packages/crossmingw32-libxml2] - added filterout_c
qboosh
qboosh at pld-linux.org
Sat Sep 15 12:43:57 CEST 2012
commit bb67111e58e7e1c88d18d48619e6e99ef245ba55
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 15 12:44:40 2012 +0200
- added filterout_c
crossmingw32-libxml2.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-libxml2.spec b/crossmingw32-libxml2.spec
index e1a482b..cf5eff1 100644
--- a/crossmingw32-libxml2.spec
+++ b/crossmingw32-libxml2.spec
@@ -34,7 +34,14 @@ 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
+
+%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.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-libxml2.git/commitdiff/bb67111e58e7e1c88d18d48619e6e99ef245ba55
More information about the pld-cvs-commit
mailing list