From baa2cd47e56f0a387685fb923ce9663b42df9fc2 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 18 Aug 2005 04:27:34 +0000 Subject: Support cross-compiling in Makefile Thanks to "Anthony Russello" Signed-off-by: Neil Brown --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aca9b40..4d15d42 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ KLIBC=/home/src/klibc/klibc-0.77 KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 -CC = gcc +CC = $(CROSS_COMPILE)gcc CXFLAGS = -ggdb CWFLAGS = -Wall -Werror -Wstrict-prototypes SYSCONFDIR = /etc -- cgit