aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-09-06 14:29:17 -0400
committerDJ Delorie <dj@gcc.gnu.org>2000-09-06 14:29:17 -0400
commit112c7aeab151b463751a3b7ea085f4080c7ce83a (patch)
tree9c01b292e3eac50cb5b5e7e071116abd77eb3bd3
parent8ee4db6f3a08922d4f2b9d5d1f5bc85516a3189e (diff)
downloadgcc-112c7aeab151b463751a3b7ea085f4080c7ce83a.zip
gcc-112c7aeab151b463751a3b7ea085f4080c7ce83a.tar.gz
gcc-112c7aeab151b463751a3b7ea085f4080c7ce83a.tar.bz2
Makefile.in (stage_*): add more dependencies to ensure parallel builds build correctly
* Makefile.in (stage_*): add more dependencies to ensure parallel builds build correctly From-SVN: r36204
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in10
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c53a255..953922e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-06 DJ Delorie <dj@redhat.com>
+
+ * Makefile.in (stage_*): add more dependencies to ensure parallel
+ builds build correctly
+
2000-09-06 Manfred Hollstein <manfredh@redhat.com>
* Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 6199614..b07034f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2777,7 +2777,7 @@ stage_a:
+$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" LANG_LIB2FUNCS=
touch stage_a
-stage_b:
+stage_b: stage_a
$(MAKE) stage1
touch stage_b
@@ -2786,20 +2786,20 @@ stage_b:
# To prevent `make install' from compiling alloca.o and then relinking cc1
# because alloca.o is newer, we permit these recursive makes to compile
# alloca.o. Then cc1 is newer, so it won't have to be relinked.
-stage_c:
+stage_c: stage_b
+$(MAKE) CC="stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" CFLAGS="$(BOOT_CFLAGS)" WARN_CFLAGS="$(WARN2_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage1/ LANGUAGES="$(LANGUAGES)"
touch stage_c
-stage_d:
+stage_d: stage_c
+$(MAKE) stage2
touch stage_d
-stage_e:
+stage_e: stage_d
+$(MAKE) CC="stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" CFLAGS="$(BOOT_CFLAGS)" WARN_CFLAGS="$(WARN2_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage2/ LANGUAGES="$(LANGUAGES)"
touch stage_e
# For bootstrap4:
-stage_f:
+stage_f: stage_e
+$(MAKE) CC="stage3/xgcc$(exeext) -B$(build_tooldir)/bin/ -Bstage3/" CFLAGS="$(WARN_CFLAGS) $(BOOT_CFLAGS)" LDFLAGS="$(BOOT_LDFLAGS)" libdir=$(libdir) STAGE_PREFIX=stage3/ LANGUAGES="$(LANGUAGES)"
touch stage_f