SPECS: crossmingw64-gcc.spec - workaround 'argument list to long', remeve -...
pluto
pluto at pld-linux.org
Thu Jul 3 17:13:38 CEST 2008
Author: pluto Date: Thu Jul 3 15:13:38 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- workaround 'argument list to long', remeve --host/--build from configure.
---- Files affected:
SPECS:
crossmingw64-gcc.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/crossmingw64-gcc.spec
diff -u SPECS/crossmingw64-gcc.spec:1.6 SPECS/crossmingw64-gcc.spec:1.7
--- SPECS/crossmingw64-gcc.spec:1.6 Thu Jul 3 15:52:51 2008
+++ SPECS/crossmingw64-gcc.spec Thu Jul 3 17:13:32 2008
@@ -103,8 +103,6 @@
--disable-libssp \
--with-pkgversion="PLD-Linux" \
--with-bugurl="http://bugs.pld-linux.org" \
- --build=%{_target_platform} \
- --host=%{_target_platform} \
--target=%{target}
%{__make}
@@ -157,13 +155,14 @@
make -C trunk/mingw-w64-crt install \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-mingw32/lib/* \
- $RPM_BUILD_ROOT%{arch}/lib
+find $RPM_BUILD_ROOT%{_prefix}/x86_64-pc-mingw32/lib -type f \
+ -exec mv "{}" "$RPM_BUILD_ROOT%{arch}/lib" ";"
%if 0%{!?debug:1}
%{target}-strip -g -R.note -R.comment $RPM_BUILD_ROOT%{gcclib}/libgcc.a
%{target}-strip -g -R.note -R.comment $RPM_BUILD_ROOT%{gcclib}/libgcov.a
-%{target}-strip -g -R.note -R.comment $RPM_BUILD_ROOT%{arch}/lib/*.{a,o}
+find $RPM_BUILD_ROOT%{arch}/lib -type f -name '*.a' -o -name '*.o' \
+ -exec %{target}-strip -g -R.note -R.comment "{}" ";"
%endif
%clean
@@ -239,6 +238,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2008/07/03 15:13:32 pluto
+- workaround 'argument list to long', remeve --host/--build from configure.
+
Revision 1.6 2008/07/03 13:52:51 pluto
- disable red zone for w64 abi.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/crossmingw64-gcc.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list