]> git.pld-linux.org Git - packages/crossmingw32-zlib.git/commitdiff
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 3987106518745694c00309355f736387d17ea00f..53d58f2733f1cdd26616b46614e6d2a61400eb69 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.136129 seconds and 4 git commands to generate.