Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
(stage2_build, stage3_build, stage4_build): Likewise, to CC.

From-SVN: r56447

gcc/ChangeLog
gcc/Makefile.in

index de73f2549eee61078a7f5f0b41792300c4e8f211..5a02c17a27609c7e6d7016432b0e016b07dbc92f 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
+       (stage2_build, stage3_build, stage4_build): Likewise, to CC.
+
 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
            Steve Ellcey  <sje@cup.hp.com>
 
index 41f9c67a0eb0b8f9079121fe6fd092bd14483cfd..d739d9f0b4fcc9c7589ed9e447f19d826b30153b 100644 (file)
@@ -179,7 +179,7 @@ USER_H = $(srcdir)/ginclude/stdarg.h $(srcdir)/ginclude/stddef.h \
 # The GCC to use for compiling libgcc.a and crt*.o.
 # Usually the one we just built.
 # Don't use this as a dependency--use $(GCC_PASSES) or $(GCC_PARTS).
-GCC_FOR_TARGET = ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include
+GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include
 
 # This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
 # It omits XCFLAGS, and specifies -B./.
@@ -3334,7 +3334,7 @@ stage1_copy: stage1_build
        echo stage2_build > stage_last
 
 stage2_build: stage1_copy
-       $(MAKE) CC="stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
+       $(MAKE) CC="$(STAGE_CC_WRAPPER) stage1/xgcc$(exeext) -Bstage1/ -B$(build_tooldir)/bin/" \
                 STAGE_PREFIX=stage1/ \
                 $(STAGE2_FLAGS_TO_PASS)
        $(STAMP) stage2_build
@@ -3346,7 +3346,7 @@ stage2_copy: stage2_build
        echo stage3_build > stage_last
 
 stage3_build: stage2_copy
-       $(MAKE) CC="stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" \
+       $(MAKE) CC="$(STAGE_CC_WRAPPER) stage2/xgcc$(exeext) -Bstage2/ -B$(build_tooldir)/bin/" \
                 STAGE_PREFIX=stage2/ \
                 $(STAGE2_FLAGS_TO_PASS)
        $(STAMP) stage3_build
@@ -3359,7 +3359,7 @@ stage3_copy: stage3_build
        echo stage4_build > stage_last
 
 stage4_build: stage3_copy
-       $(MAKE) CC="stage3/xgcc$(exeext) -Bstage3/ -B$(build_tooldir)/bin/" \
+       $(MAKE) CC="$(STAGE_CC_WRAPPER) stage3/xgcc$(exeext) -Bstage3/ -B$(build_tooldir)/bin/" \
                 STAGE_PREFIX=stage3/ \
                 $(STAGE2_FLAGS_TO_PASS)
        $(STAMP) stage4_build