summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-17 19:29:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-18 19:22:27 (GMT)
commit2e67a5f449f4026097494569f871d79bf263ab28 (patch)
tree5b820842ce0afb836ddbeded3a3f9e8d0ba223f9 /Makefile
parenta8aca418d6484400d6804e22717bd49ca06c28e9 (diff)
downloadgit-2e67a5f449f4026097494569f871d79bf263ab28.zip
git-2e67a5f449f4026097494569f871d79bf263ab28.tar.gz
git-2e67a5f449f4026097494569f871d79bf263ab28.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3bdd059..d8bb375 100644
--- 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