From: Brandon Casey Date: Thu, 9 Sep 2010 19:15:58 +0000 (-0500) Subject: Makefile: use compat regex on IRIX 6.5 X-Git-Tag: v1.7.3-rc1~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1d558d254f84e4b816497fe30b2b8ef0b47ba71;p=git.git Makefile: use compat regex on IRIX 6.5 The IRIX 6.5 regex.h header file defines REG_STARTEND, but the feature does not appear to work. Since REG_STARTEND is required for proper functioning of git-grep, set NO_REGEX and use the alternative regex libraries in compat/ Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 8b7c24347..c27e8bcc3 100644 --- a/Makefile +++ b/Makefile @@ -982,6 +982,7 @@ ifeq ($(uname_S),IRIX) # NO_MMAP. If you suspect that your compiler is not affected by this # issue, comment out the NO_MMAP statement. NO_MMAP = YesPlease + NO_REGEX = YesPlease SNPRINTF_RETURNS_BOGUS = YesPlease SHELL_PATH = /usr/gnu/bin/bash NEEDS_LIBGEN = YesPlease @@ -1000,6 +1001,7 @@ ifeq ($(uname_S),IRIX64) # NO_MMAP. If you suspect that your compiler is not affected by this # issue, comment out the NO_MMAP statement. NO_MMAP = YesPlease + NO_REGEX = YesPlease SNPRINTF_RETURNS_BOGUS = YesPlease SHELL_PATH=/usr/gnu/bin/bash NEEDS_LIBGEN = YesPlease