author | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Dec 2009 21:51:16 +0000 (13:51 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Dec 2009 21:51:16 +0000 (13:51 -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 856ba098b8a6383b81fd7d7b716fae9fc39c7f85..ed517b1a29501581ee45ae143d91cb9bf9984933 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 = ;