Skip to content

Commit 8102453

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

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
@@ -789,6 +789,8 @@ ifeq ($(uname_O),Cygwin)
789789
NO_MMAP = YesPlease
790790
NO_IPV6 = YesPlease
791791
X = .exe
792+
COMPAT_OBJS += compat/cygwin.o
793+
UNRELIABLE_FSTAT = UnfortunatelyYes
792794
endif
793795
ifeq ($(uname_S),FreeBSD)
794796
NEEDS_LIBICONV = YesPlease
@@ -898,10 +900,6 @@ ifeq ($(uname_S),HP-UX)
898900
NO_SYS_SELECT_H = YesPlease
899901
SNPRINTF_RETURNS_BOGUS = YesPlease
900902
endif
901-
ifneq (,$(findstring CYGWIN,$(uname_S)))
902-
COMPAT_OBJS += compat/cygwin.o
903-
UNRELIABLE_FSTAT = UnfortunatelyYes
904-
endif
905903
ifdef MSVC
906904
GIT_VERSION := $(GIT_VERSION).MSVC
907905
pathsep = ;

0 commit comments

Comments
 (0)