Code

Makefile: update the default build options for AIX
authorMike Ralphson <mike@abacus.co.uk>
Wed, 7 May 2008 08:35:55 +0000 (09:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 May 2008 09:39:30 +0000 (02:39 -0700)
NO_MKDTEMP is required to build, FREAD_READS_DIRECTORIES and the definition
of _LARGE_FILES fix test suite failures and INTERNAL_QSORT is required for
adequate performance.

Tested on AIX v5.3 Maintenance Level 06

Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Tested-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 649ee56c96f44c6b403907bf03826c2a3f577315..a2de0757992b7cf2177ff9970915853a02c21e47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -636,8 +636,12 @@ endif
 ifeq ($(uname_S),AIX)
        NO_STRCASESTR=YesPlease
        NO_MEMMEM = YesPlease
+       NO_MKDTEMP = YesPlease
        NO_STRLCPY = YesPlease
+       FREAD_READS_DIRECTORIES = UnfortunatelyYes
+       INTERNAL_QSORT = UnfortunatelyYes
        NEEDS_LIBICONV=YesPlease
+       BASIC_CFLAGS += -D_LARGE_FILES
 endif
 ifeq ($(uname_S),GNU)
        # GNU/Hurd