Skip to content

Commit c206224

Browse files
committed
Merge branch 'rj/maint-simplify-cygwin-makefile' into maint
* rj/maint-simplify-cygwin-makefile: Makefile: merge two Cygwin configuration sections into one
2 parents dc733ef + 035b76b commit c206224

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,8 @@ ifeq ($(uname_O),Cygwin)
787787
NO_MMAP = YesPlease
788788
NO_IPV6 = YesPlease
789789
X = .exe
790+
COMPAT_OBJS += compat/cygwin.o
791+
UNRELIABLE_FSTAT = UnfortunatelyYes
790792
endif
791793
ifeq ($(uname_S),FreeBSD)
792794
NEEDS_LIBICONV = YesPlease
@@ -896,10 +898,6 @@ ifeq ($(uname_S),HP-UX)
896898
NO_SYS_SELECT_H = YesPlease
897899
SNPRINTF_RETURNS_BOGUS = YesPlease
898900
endif
899-
ifneq (,$(findstring CYGWIN,$(uname_S)))
900-
COMPAT_OBJS += compat/cygwin.o
901-
UNRELIABLE_FSTAT = UnfortunatelyYes
902-
endif
903901
ifdef MSVC
904902
GIT_VERSION := $(GIT_VERSION).MSVC
905903
pathsep = ;

0 commit comments

Comments
 (0)