OSDN Git Service

* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)
(stage2_build, stage3_build, stage4_build): Likewise, to CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56447 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index de73f25..5a02c17 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 41f9c67..d739d9f 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