summaryrefslogtreecommitdiffstats
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-19 20:39:32 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-19 20:39:32 +0000
commitb6ccbce8ae3d6df21692521151eb972082872790 (patch)
tree3185b737a5f6b4e110af183921f346debdb3f035 /gcc/Makefile.in
parent4269a65167c7ee6d5288583469b27171995390af (diff)
downloadppe42-gcc-b6ccbce8ae3d6df21692521151eb972082872790.tar.gz
ppe42-gcc-b6ccbce8ae3d6df21692521151eb972082872790.zip
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
(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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 41f9c67a0eb..d739d9f0b4f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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
OpenPOWER on IntegriCloud