From a96a22ccd5c08eea1b37bcd3bf0a307c7cc6d0a8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 19 Sep 2012 15:54:49 +0200 Subject: [PATCH] - 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 -- 2.44.0