[packages/crossmingw32-libffi] - added filterout_c for -f* options
qboosh
qboosh at pld-linux.org
Wed Sep 19 16:06:40 CEST 2012
commit a39e0238fa68f5f93d001dcec4237f64e7534c56
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 19 16:07:30 2012 +0200
- added filterout_c for -f* options
crossmingw32-libffi.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-libffi.spec b/crossmingw32-libffi.spec
index 98e9e5c..dccfa21 100644
--- a/crossmingw32-libffi.spec
+++ b/crossmingw32-libffi.spec
@@ -28,8 +28,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
-%define filterout_ld -Wl,-z,.*
+# -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 libffi library provides a portable, high level programming
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-libffi.git/commitdiff/a39e0238fa68f5f93d001dcec4237f64e7534c56
More information about the pld-cvs-commit
mailing list