This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch committed] Fix sh-elf build failure


Hi,

The attached is an obvious fix to restore sh-elf cross build.
Applied on trunk.

Regards,
	kaz
--
[libgcc]
2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>

	* config/sh/t-sh: Use $(gcc_compile) instead of $(compile).

--- libgcc/config/sh/t-sh.orig	2011-11-03 09:27:12.000000000 +0900
+++ libgcc/config/sh/t-sh	2011-11-04 09:23:42.000000000 +0900
@@ -43,7 +43,7 @@ libic_invalidate_array_4a.a: ic_invalida
 	$(AR_CREATE_FOR_TARGET) $@ $<
 
 sdivsi3_i4i-Os-4-200.o: $(srcdir)/config/sh/lib1funcs-Os-4-200.S
-	$(compile) -c -DL_sdivsi3_i4i $<
+	$(gcc_compile) -c -DL_sdivsi3_i4i $<
 udivsi3_i4i-Os-4-200.o: $(srcdir)/config/sh/lib1funcs-Os-4-200.S
 	$(gcc_compile) -c -DL_udivsi3_i4i $<
 unwind-dw2-Os-4-200.o: $(srcdir)/unwind-dw2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]