mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-15 01:36:08 -04:00
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>
This commit is contained in:
parent
43ef1c381f
commit
883e3925d9
@ -97,6 +97,7 @@ endif
|
|||||||
#
|
#
|
||||||
ifeq ($(HOSTOS),cygwin)
|
ifeq ($(HOSTOS),cygwin)
|
||||||
SFX = .exe
|
SFX = .exe
|
||||||
|
HOST_CFLAGS += -ansi
|
||||||
else
|
else
|
||||||
SFX =
|
SFX =
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user