diff options
author | raptorbrino@aim.com <raptorbrino@aim.com> | 2007-12-14 02:23:28 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 14:07:02 (GMT) |
commit | 883e3925d99a8dd69c5b0201cba5b1887f88f95c (patch) | |
tree | e187db0556bf3cd87ab6446ecc3324f58eff4459 | |
parent | 43ef1c381f9195504a2488f5cb909227eb97d475 (diff) | |
download | u-boot-fsl-qoriq-883e3925d99a8dd69c5b0201cba5b1887f88f95c.tar.xz |
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>
-rw-r--r-- | tools/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index e8e0280..21cc090 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -97,6 +97,7 @@ endif # ifeq ($(HOSTOS),cygwin) SFX = .exe +HOST_CFLAGS += -ansi else SFX = endif |