From b5e44878d518c9bbf04b67ea4c8fa5d288047a8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 7 Apr 2013 16:03:38 +0300 Subject: [PATCH] added filterout_c for -f* options --- crossmingw32-zlib.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crossmingw32-zlib.spec b/crossmingw32-zlib.spec index 3987106..53d58f2 100644 --- a/crossmingw32-zlib.spec +++ b/crossmingw32-zlib.spec @@ -42,6 +42,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define optflags -O2 %endif +# -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 The 'zlib' compression library provides in-memory compression and decompression functions, including integrity checks of the -- 2.43.0