[packages/crossmingw32-SDL_image] added filterout_c for -f* options
glen
glen at pld-linux.org
Sun Apr 21 10:35:14 CEST 2013
commit da815f48907154824c09e8ad6b10122eb38944c9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 21 11:35:01 2013 +0300
added filterout_c for -f* options
crossmingw32-SDL_image.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-SDL_image.spec b/crossmingw32-SDL_image.spec
index f6475c8..26d86d4 100644
--- a/crossmingw32-SDL_image.spec
+++ b/crossmingw32-SDL_image.spec
@@ -3,7 +3,7 @@ Summary: Simple DirectMedia Layer - Sample Image Loading Library - MinGW32 cross
Summary(pl.UTF-8): Przykładowa biblioteka do ładowania obrazków - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
Version: 1.2.12
-Release: 3
+Release: 4
License: Zlib-like
Group: Libraries
Source0: http://www.libsdl.org/projects/SDL_image/release/%{realname}-%{version}.tar.gz
@@ -43,8 +43,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
This is a simple library to load images of various formats as SDL
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-SDL_image.git/commitdiff/da815f48907154824c09e8ad6b10122eb38944c9
More information about the pld-cvs-commit
mailing list