From 883e3925d99a8dd69c5b0201cba5b1887f88f95c Mon Sep 17 00:00:00 2001 From: "raptorbrino@aim.com" Date: Thu, 13 Dec 2007 21:23:28 -0500 Subject: Fix build problems under Cygwin This patch allows u-boot to build without error in a cygwin environment. Cygwin does not define __u64 in it's include/asm/types.h file. The -idirafter flag in the u-boot build causes the inclusion of the cygwin types.h file as opposed to u-bot/include/asm/types.h file which does define __u64. Subsequently, sha1.c compile fails due to unknown symbol. Signed-off-by: Brian Miller --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index e8e02801a..21cc09057 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -97,6 +97,7 @@ endif # ifeq ($(HOSTOS),cygwin) SFX = .exe +HOST_CFLAGS += -ansi else SFX = endif -- cgit v1.2.3