summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Ralphson <mike@abacus.co.uk>2008-05-07 09:35:55 +0100
committerJunio C Hamano <gitster@pobox.com>2008-05-17 02:39:30 -0700
commit377d9c409ffe0f0d994b929aeb94716139207b9d (patch)
tree705dec0ec651f5ac4e3d0a93c24c52e6b16487ff
parent6d2c1c2dc064c40f6c723e0a25b5f813732fdaff (diff)
downloadgit-377d9c409ffe0f0d994b929aeb94716139207b9d.tar.gz
Makefile: update the default build options for AIX
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>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 649ee56c96..a2de075799 100644
--- 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