From c9fae71049e01c8807540e6673536fcda6e5fe62 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 18 Aug 2005 04:28:10 +0000 Subject: [PATCH] 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 cd405162..2360bf2e 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 -- 2.39.5