packages: gcc/gcc.spec - put all make options inside Makefile, so it's easi...
sparky
sparky at pld-linux.org
Tue Nov 24 20:42:46 CET 2009
Author: sparky Date: Tue Nov 24 19:42:46 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- put all make options inside Makefile, so it's easier to restart the build
---- Files affected:
packages/gcc:
gcc.spec (1.593 -> 1.594)
---- Diffs:
================================================================
Index: packages/gcc/gcc.spec
diff -u packages/gcc/gcc.spec:1.593 packages/gcc/gcc.spec:1.594
--- packages/gcc/gcc.spec:1.593 Thu Nov 12 12:33:54 2009
+++ packages/gcc/gcc.spec Tue Nov 24 20:42:40 2009
@@ -1495,15 +1495,22 @@
cd ..
-%{__make} -C builddir \
- %{?with_bootstrap:%{?with_profiling:profiledbootstrap}} \
- GCJFLAGS="%{rpmcflags}" \
- BOOT_CFLAGS="%{rpmcflags}" \
- STAGE1_CFLAGS="%{rpmcflags} -O0 -g0" \
- GNATLIBCFLAGS="%{rpmcflags}" \
- LDFLAGS_FOR_TARGET="%{rpmldflags}" \
- mandir=%{_mandir} \
- infodir=%{_infodir}
+cat << 'EOF' > Makefile
+all := $(filter-out all Makefile,$(MAKECMDGOALS))
+
+all $(all):
+ $(MAKE) -C builddir $(MAKE_OPTS) $(all) \
+ %{?with_bootstrap:%{?with_profiling:profiledbootstrap}} \
+ GCJFLAGS="%{rpmcflags}" \
+ BOOT_CFLAGS="%{rpmcflags}" \
+ STAGE1_CFLAGS="%{rpmcflags} -O0 -g0" \
+ GNATLIBCFLAGS="%{rpmcflags}" \
+ LDFLAGS_FOR_TARGET="%{rpmldflags}" \
+ mandir=%{_mandir} \
+ infodir=%{_infodir}
+EOF
+
+%{__make}
%if %{with tests}
if [ ! -r /dev/pts/0 ]; then
@@ -2284,6 +2291,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.594 2009/11/24 19:42:40 sparky
+- put all make options inside Makefile, so it's easier to restart the build
+
Revision 1.593 2009/11/12 11:33:54 patrys
- rebuild
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.593&r2=1.594&f=u
More information about the pld-cvs-commit
mailing list