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 <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brandon Casey committed
Sep 9, 2010 at 14:15 UTC
a1d558d254f84e4b816497fe30b2b8ef0b47ba71
1 file changed
+2
Makefile
+2
@@ -982,6 +982,7 @@ ifeq ($(uname_S),IRIX)
982
# NO_MMAP. If you suspect that your compiler is not affected by this
983
# issue, comment out the NO_MMAP statement.
984
NO_MMAP = YesPlease
985
+ NO_REGEX = YesPlease
986
SNPRINTF_RETURNS_BOGUS = YesPlease
987
SHELL_PATH = /usr/gnu/bin/bash
988
NEEDS_LIBGEN = YesPlease
@@ -1000,6 +1001,7 @@ ifeq ($(uname_S),IRIX64)
1001
# NO_MMAP. If you suspect that your compiler is not affected by this
1002
# issue, comment out the NO_MMAP statement.
1003
NO_MMAP = YesPlease
1004
+ NO_REGEX = YesPlease
1005
SNPRINTF_RETURNS_BOGUS = YesPlease
1006
SHELL_PATH=/usr/gnu/bin/bash
1007
NEEDS_LIBGEN = YesPlease