aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-03 13:51:16 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-03 13:51:16 -0800
commitc206224b2b7a32924c40b162c59329da143aba1f (patch)
tree7a50318317f150f045727d5703677e59c7c305fe /Makefile
parentdc733ef4190dffcbcd5c1c27569fecf01f9a44bd (diff)
parent035b76b03f63e077e3465a99bee5dffa29822344 (diff)
downloadgit-c206224b2b7a32924c40b162c59329da143aba1f.tar.gz
git-c206224b2b7a32924c40b162c59329da143aba1f.tar.xz
Merge branch 'rj/maint-simplify-cygwin-makefile' into maint
* rj/maint-simplify-cygwin-makefile: Makefile: merge two Cygwin configuration sections into one
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 856ba098b..ed517b1a2 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 = ;