Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 286494
Collapse All | Expand All

(-)gcc-4.4.2/libgcc/Makefile.in.orig (-3 / +3 lines)
Lines 881-892 gcc-extra-parts: Link Here
881
	# We must use cd && make rather than make -C, or else the stage
881
	# We must use cd && make rather than make -C, or else the stage
882
	# number will be embedded in debug information.
882
	# number will be embedded in debug information.
883
883
884
	T=`$(PWD_COMMAND)`/ \
884
	_T=_`$(PWD_COMMAND)`/ \
885
	&& cd $(gcc_objdir) \
885
	&& cd $(gcc_objdir) \
886
	&& $(MAKE) GCC_FOR_TARGET="$(CC)" \
886
	&& $(MAKE) GCC_FOR_TARGET="$(CC)" \
887
	  MULTILIB_CFLAGS="$(CFLAGS)" \
887
	  MULTILIB_CFLAGS="$(CFLAGS)" \
888
	  T=$$T \
888
	  _T_=$$_T_ \
889
	  T_TARGET="$(patsubst %,$${T}%,$(GCC_EXTRA_PARTS))" \
889
	  T_TARGET="$(patsubst %,$${_T_}%,$(GCC_EXTRA_PARTS))" \
890
	  T_TARGET
890
	  T_TARGET
891
891
892
	# Early copyback; see "all" above for the rationale.  The
892
	# Early copyback; see "all" above for the rationale.  The
(-)gcc-4.4.2/libgcc/config/i386/t-sol2.orig (-10 / +10 lines)
Lines 1-24 Link Here
1
# gmon build rule:
1
# gmon build rule:
2
$(T)gmon.o:	$(gcc_srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
2
$(_T_)gmon.o:	$(gcc_srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
3
	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
3
	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
4
		-c $(gcc_srcdir)/config/i386/gmon-sol2.c -o $(T)gmon.o
4
		-c $(gcc_srcdir)/config/i386/gmon-sol2.c -o $(_T_)gmon.o
5
5
6
# Assemble startup files.
6
# Assemble startup files.
7
# Apparently Sun believes that assembler files don't need comments, because no
7
# Apparently Sun believes that assembler files don't need comments, because no
8
# single ASCII character is valid (tried them all).  So we manually strip out
8
# single ASCII character is valid (tried them all).  So we manually strip out
9
# the comments with sed.  This bug may only be in the Early Access releases.
9
# the comments with sed.  This bug may only be in the Early Access releases.
10
$(T)gcrt1.o: $(gcc_srcdir)/config/i386/sol2-gc1.asm $(GCC_PASSES)
10
$(_T_)gcrt1.o: $(gcc_srcdir)/config/i386/sol2-gc1.asm $(GCC_PASSES)
11
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-gc1.asm >gcrt1.s
11
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-gc1.asm >gcrt1.s
12
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)gcrt1.o gcrt1.s
12
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)gcrt1.o gcrt1.s
13
$(T)crt1.o: $(gcc_srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES)
13
$(_T_)crt1.o: $(gcc_srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES)
14
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-c1.asm >crt1.s
14
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-c1.asm >crt1.s
15
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o crt1.s
15
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crt1.o crt1.s
16
$(T)crti.o: $(gcc_srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
16
$(_T_)crti.o: $(gcc_srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
17
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-ci.asm >crti.s
17
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-ci.asm >crti.s
18
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o crti.s
18
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crti.o crti.s
19
$(T)crtn.o: $(gcc_srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES)
19
$(_T_)crtn.o: $(gcc_srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES)
20
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-cn.asm >crtn.s
20
	sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-cn.asm >crtn.s
21
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o crtn.s
21
	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crtn.o crtn.s
22
22
23
# We need to use -fPIC when we are using gcc to compile the routines in
23
# We need to use -fPIC when we are using gcc to compile the routines in
24
# crtstuff.c.  This is only really needed when we are going to use gcc/g++
24
# crtstuff.c.  This is only really needed when we are going to use gcc/g++

Return to bug 286494