]> git.ipfire.org Git - thirdparty/git.git/commitdiff
build: support z/OS (OS/390).
authorHaritha D <harithamma.d@ibm.com>
Wed, 6 Mar 2024 05:44:17 +0000 (05:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Mar 2024 16:10:58 +0000 (08:10 -0800)
Introduced z/OS (OS/390) as a platform in config.mak.uname

Signed-off-by: Haritha D <harithamma.d@ibm.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index dacc95172dcdcbd85086d9dacf57d2be588c90e1..d0dcca2ec554cddf61447215357a7e15877b0aca 100644 (file)
@@ -638,6 +638,18 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
        SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
        SHELL_PATH = /usr/coreutils/bin/bash
 endif
+ifeq ($(uname_S),OS/390)
+       NO_SYS_POLL_H = YesPlease
+       NO_STRCASESTR = YesPlease
+       NO_REGEX = YesPlease
+       NO_MMAP = YesPlease
+       NO_NSEC = YesPlease
+       NO_STRLCPY = YesPlease
+       NO_MEMMEM = YesPlease
+       NO_GECOS_IN_PWENT = YesPlease
+       HAVE_STRINGS_H = YesPlease
+       NEEDS_MODE_TRANSLATION = YesPlease
+endif
 ifeq ($(uname_S),MINGW)
        ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
                $(error "Building with MSys is no longer supported")