Skip to content

Commit a1d558d

Browse files
drafnelgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f985487 commit a1d558d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,7 @@ ifeq ($(uname_S),IRIX)
982982
# NO_MMAP. If you suspect that your compiler is not affected by this
983983
# issue, comment out the NO_MMAP statement.
984984
NO_MMAP = YesPlease
985+
NO_REGEX = YesPlease
985986
SNPRINTF_RETURNS_BOGUS = YesPlease
986987
SHELL_PATH = /usr/gnu/bin/bash
987988
NEEDS_LIBGEN = YesPlease
@@ -1000,6 +1001,7 @@ ifeq ($(uname_S),IRIX64)
10001001
# NO_MMAP. If you suspect that your compiler is not affected by this
10011002
# issue, comment out the NO_MMAP statement.
10021003
NO_MMAP = YesPlease
1004+
NO_REGEX = YesPlease
10031005
SNPRINTF_RETURNS_BOGUS = YesPlease
10041006
SHELL_PATH=/usr/gnu/bin/bash
10051007
NEEDS_LIBGEN = YesPlease

0 commit comments

Comments
 (0)