From: raptorbrino@aim.com Date: Fri, 14 Dec 2007 02:23:28 +0000 (-0500) Subject: Fix build problems under Cygwin X-Git-Tag: v1.3.2-rc1~100^2~33^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=883e3925d99a8dd69c5b0201cba5b1887f88f95c;p=oweals%2Fu-boot.git 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 --- diff --git a/tools/Makefile b/tools/Makefile index e8e02801a6..21cc090570 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -97,6 +97,7 @@ endif # ifeq ($(HOSTOS),cygwin) SFX = .exe +HOST_CFLAGS += -ansi else SFX = endif