Code

Cygwin *might* be helped with NO_MMAP
authorJunio C Hamano <junkio@cox.net>
Thu, 17 Nov 2005 19:29:47 +0000 (11:29 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 18 Nov 2005 19:22:27 +0000 (11:22 -0800)
When HPA added Cygwin target, it ran just fine without NO_MMAP for him,
but recently we are getting reports that for some people things break
without it.  For now, just suggest it in the Makefile without actually
updating the default.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 3bdd0597c154bcda11e1a87f1fe1e43720d4225b..d8bb375752c24e86d6334e8f6a6c0c0e28df5038 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -208,6 +208,10 @@ endif
 ifeq ($(uname_O),Cygwin)
        NO_STRCASESTR = YesPlease
        NEEDS_LIBICONV = YesPlease
+       # There are conflicting reports about this.
+       # On some boxes NO_MMAP is needed, and not so elsewhere.
+       # Try uncommenting this if you see things break -- YMMV.
+       # NO_MMAP = YesPlease
        NO_IPV6 = YesPlease
        X = .exe
        ALL_CFLAGS += -DUSE_SYMLINK_HEAD=0