зеркало из https://github.com/microsoft/git.git
Update the Interix default build configuration.
Currently, on Interix, libsuacomp is required for building (see [1]). Since suacomp provides poll() and inttypes.h for all interix versions, remove NO_*=YesPlease that are no longer necessary. Interix versions 3 and 5 miss struct sockaddr_storage, so make git avoid using it. Same for FNMATCH_CASEFOLD, which does not exist for Interix 3 and 5. [1] http://news.gmane.org/find-root.php?message_id=%3c4DDF4440.4040405%40gentoo.org%3e Signed-off-by: Markus Duft <mduft@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
a02cf90144
Коммит
715876e58d
6
Makefile
6
Makefile
|
@ -1113,8 +1113,6 @@ endif
|
|||
X = .exe
|
||||
endif
|
||||
ifeq ($(uname_S),Interix)
|
||||
NO_SYS_POLL_H = YesPlease
|
||||
NO_INTTYPES_H = YesPlease
|
||||
NO_INITGROUPS = YesPlease
|
||||
NO_IPV6 = YesPlease
|
||||
NO_MEMMEM = YesPlease
|
||||
|
@ -1125,10 +1123,14 @@ ifeq ($(uname_S),Interix)
|
|||
ifeq ($(uname_R),3.5)
|
||||
NO_INET_NTOP = YesPlease
|
||||
NO_INET_PTON = YesPlease
|
||||
NO_SOCKADDR_STORAGE = YesPlease
|
||||
NO_FNMATCH_CASEFOLD = YesPlease
|
||||
endif
|
||||
ifeq ($(uname_R),5.2)
|
||||
NO_INET_NTOP = YesPlease
|
||||
NO_INET_PTON = YesPlease
|
||||
NO_SOCKADDR_STORAGE = YesPlease
|
||||
NO_FNMATCH_CASEFOLD = YesPlease
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче