From 112c7aeab151b463751a3b7ea085f4080c7ce83a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 6 Sep 2000 14:29:17 -0400 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/Makefile.in | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c53a2552c1f..953922e1dbb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-06 DJ Delorie + + * Makefile.in (stage_*): add more dependencies to ensure parallel + builds build correctly + 2000-09-06 Manfred Hollstein * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g, diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 6199614fc01..b07034fca82 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