author | Junio C Hamano <gitster@pobox.com> | |
Sat, 21 Nov 2009 07:47:43 +0000 (23:47 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 21 Nov 2009 07:47:43 +0000 (23:47 -0800) |
* rj/maint-simplify-cygwin-makefile:
Makefile: merge two Cygwin configuration sections into one
Makefile: merge two Cygwin configuration sections into one
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index d045223837ebd79426572d4bac53450910ae5ab6..7b8d11d118c7b17213014caee4b50a3d0ce19995 100644 (file)
--- a/Makefile
+++ b/Makefile
NO_MMAP = YesPlease
NO_IPV6 = YesPlease
X = .exe
+ COMPAT_OBJS += compat/cygwin.o
+ UNRELIABLE_FSTAT = UnfortunatelyYes
endif
ifeq ($(uname_S),FreeBSD)
NEEDS_LIBICONV = YesPlease
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 = ;