[packages/crossmingw32-glib2] - added filterout_c for -f* options

qboosh qboosh at pld-linux.org
Wed Sep 19 15:54:12 CEST 2012


commit a96a22ccd5c08eea1b37bcd3bf0a307c7cc6d0a8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 19 15:54:49 2012 +0200

    - added filterout_c for -f* options

 crossmingw32-glib2.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-glib2.spec b/crossmingw32-glib2.spec
index 0454e7b..aaf2be2 100644
--- a/crossmingw32-glib2.spec
+++ b/crossmingw32-glib2.spec
@@ -62,8 +62,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # now at least i486 is required for atomic operations
 %define		optflags	-O2 -march=i486
 %endif
-# -z options are invalid for mingw linker
+# -z options are invalid for mingw linker, most of -f options are Linux-specific
 %define		filterout_ld	-Wl,-z,.*
+%define		filterout_c	-f[-a-z0-9=]*
 
 %description
 GLib, is a library which includes support routines for C such as
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-glib2.git/commitdiff/a96a22ccd5c08eea1b37bcd3bf0a307c7cc6d0a8



More information about the pld-cvs-commit mailing list