From: Neil Brown Date: Thu, 18 Aug 2005 04:27:34 +0000 (+0000) Subject: Support cross-compiling in Makefile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baa2cd47e56f0a387685fb923ce9663b42df9fc2;p=thirdparty%2Fmdadm.git Support cross-compiling in Makefile Thanks to "Anthony Russello" Signed-off-by: Neil Brown --- diff --git a/Makefile b/Makefile index aca9b401..4d15d42d 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