summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-03 22:51:16 +0100
committerJunio C Hamano <gitster@pobox.com>2009-12-03 22:51:16 +0100
commitc206224b2b7a32924c40b162c59329da143aba1f (patch)
tree7a50318317f150f045727d5703677e59c7c305fe
parentMerge branch 'rg/doc-workflow' into maint (diff)
parentMakefile: merge two Cygwin configuration sections into one (diff)
downloadgit-c206224b2b7a32924c40b162c59329da143aba1f.tar.xz
git-c206224b2b7a32924c40b162c59329da143aba1f.zip
Merge branch 'rj/maint-simplify-cygwin-makefile' into maint
* rj/maint-simplify-cygwin-makefile: Makefile: merge two Cygwin configuration sections into one
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 856ba098b8..ed517b1a29 100644
--- a/Makefile
+++ b/Makefile
@@ -787,6 +787,8 @@ ifeq ($(uname_O),Cygwin)
NO_MMAP = YesPlease
NO_IPV6 = YesPlease
X = .exe
+ COMPAT_OBJS += compat/cygwin.o
+ UNRELIABLE_FSTAT = UnfortunatelyYes
endif
ifeq ($(uname_S),FreeBSD)
NEEDS_LIBICONV = YesPlease
@@ -896,10 +898,6 @@ ifeq ($(uname_S),HP-UX)
NO_SYS_SELECT_H = YesPlease
SNPRINTF_RETURNS_BOGUS = YesPlease
endif
-ifneq (,$(findstring CYGWIN,$(uname_S)))
- COMPAT_OBJS += compat/cygwin.o
- UNRELIABLE_FSTAT = UnfortunatelyYes
-endif
ifdef MSVC
GIT_VERSION := $(GIT_VERSION).MSVC
pathsep = ;