Makefile: enable THREADED_DELTA_SEARCH on IRIX and IRIX64
authorBrandon Casey <drafnel@gmail.com>
Thu, 8 Oct 2009 23:07:41 +0000 (18:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Oct 2009 05:54:09 +0000 (22:54 -0700)
Since commit dcda3614 removed the use of a variable length array from
builtin-pack-objects.c, it is now safe to compile with the threaded delta
search feature enabled. Formerly, the MIPSpro 7.4.4m compiler warned that
variable length arrays should not be used with pthreads.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
index dd3d5203f92158e0a172a3aaa4937804fc36d1f1..c956ce9437ed59ff5309e8bb3cb48d935ef2f51a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -846,6 +846,7 @@ ifeq ($(uname_S),IRIX)
        SNPRINTF_RETURNS_BOGUS = YesPlease
        SHELL_PATH = /usr/gnu/bin/bash
        NEEDS_LIBGEN = YesPlease
+       THREADED_DELTA_SEARCH = YesPlease
 endif
 ifeq ($(uname_S),IRIX64)
        NO_SETENV=YesPlease
@@ -859,6 +860,7 @@ ifeq ($(uname_S),IRIX64)
        SNPRINTF_RETURNS_BOGUS = YesPlease
        SHELL_PATH=/usr/gnu/bin/bash
        NEEDS_LIBGEN = YesPlease
+       THREADED_DELTA_SEARCH = YesPlease
 endif
 ifeq ($(uname_S),HP-UX)
        NO_IPV6=YesPlease