Use HOSTCC to compile maketilo to enable cross-compilation. Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx> --- tilo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tilo/Makefile b/tilo/Makefile index 89b540fc27a9..800e65f02767 100644 --- a/tilo/Makefile +++ b/tilo/Makefile @@ -27,7 +27,7 @@ OBJS = crt0.o tilo.o $(OBJS_COMMON) malloc.o OBJS2 = crt0l.o tilol.o $(OBJS_COMMON) mallocl.o maketilo: maketilo.c b.h b2.h - $(CC) $(CFLAGS) maketilo.c -o maketilo + $(HOSTCC) $(HOSTCFLAGS) -g maketilo.c -o maketilo b.h : b.out $(BIN2H) $(BIN2H) -l BOOT_LEN boot_loader $< > $@ || ($(RM) $@; exit 1) -- 1.8.4.4 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html