summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-20 23:47:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-20 23:47:43 -0800
commit8102453318caf731ec0fdfa8d9f744a0ac9a44ef (patch)
tree4ccc28959ca231dffb862f14dcafda2fba9ed9c1 /Makefile
parentMerge branch 'bg/format-patch-doc-update' (diff)
parentMakefile: merge two Cygwin configuration sections into one (diff)
downloadtgif-8102453318caf731ec0fdfa8d9f744a0ac9a44ef.tar.xz
Merge branch 'rj/maint-simplify-cygwin-makefile'
* 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 d045223837..7b8d11d118 100644
--- a/Makefile
+++ b/Makefile
@@ -789,6 +789,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
@@ -898,10 +900,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 = ;