added filterout_c for -f* options
authorElan Ruusamäe <glen@delfi.ee>
Sun, 7 Apr 2013 13:03:38 +0000 (16:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 7 Apr 2013 13:03:38 +0000 (16:03 +0300)
crossmingw32-zlib.spec

index 3987106..53d58f2 100644 (file)
@@ -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
This page took 0.184438 seconds and 4 git commands to generate.