From 38b25bc4882864df0f1f4441e73456352e83d1d3 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 25 Sep 2012 19:32:04 +0200 Subject: [PATCH] - added filterout_c --- crossmingw32-pcre.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crossmingw32-pcre.spec b/crossmingw32-pcre.spec index e12a146..1640e18 100644 --- a/crossmingw32-pcre.spec +++ b/crossmingw32-pcre.spec @@ -34,8 +34,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc %define optflags -O2 %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 PCRE stands for the Perl Compatible Regular Expression library. It -- 2.43.0