@matheusbsbs / matheus-bagliano / commits / 2e67a5f449
Fork 0

Cygwin *might* be helped with NO_MMAP

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>

Junio C Hamano committed Nov 17, 2005 at 11:29 UTC 2e67a5f449f4026097494569f871d79bf263ab28
1 file changed +4
Makefile
+4
@@ -208,6 +208,10 @@ endif
208 ifeq ($(uname_O),Cygwin)
209 NO_STRCASESTR = YesPlease
210 NEEDS_LIBICONV = YesPlease
211 + # There are conflicting reports about this.
212 + # On some boxes NO_MMAP is needed, and not so elsewhere.
213 + # Try uncommenting this if you see things break -- YMMV.
214 + # NO_MMAP = YesPlease
215 NO_IPV6 = YesPlease
216 X = .exe
217 ALL_CFLAGS += -DUSE_SYMLINK_HEAD=0