diff options
author | raptorbrino@aim.com <raptorbrino@aim.com> | 2007-12-13 21:23:28 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 15:07:02 +0100 |
commit | 883e3925d99a8dd69c5b0201cba5b1887f88f95c (patch) | |
tree | e187db0556bf3cd87ab6446ecc3324f58eff4459 /tools | |
parent | 43ef1c381f9195504a2488f5cb909227eb97d475 (diff) |
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 <raptorbrino@netscape.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index e8e02801a6b..21cc0905707 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -97,6 +97,7 @@ endif # ifeq ($(HOSTOS),cygwin) SFX = .exe +HOST_CFLAGS += -ansi else SFX = endif |