diff options
author | Jason Riedy <ejr@EECS.Berkeley.EDU> | 2005-12-06 14:20:16 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-06 16:15:55 -0800 |
commit | a6da9395a5b6d3df901ce0a6cb61d123f77d7342 (patch) | |
tree | 06c986caabcf4b5c9eefca3678bc85444fb281d4 /Makefile | |
parent | be61db922a230ae2638c27c071ee4b8c98f01f72 (diff) | |
download | git-a6da9395a5b6d3df901ce0a6cb61d123f77d7342.tar.gz git-a6da9395a5b6d3df901ce0a6cb61d123f77d7342.tar.xz |
[PATCH] Initial AIX portability fixes.
Added an AIX clause in the Makefile; that clause likely
will be wrong for any AIX pre-5.2, but I can only test
on 5.3. mailinfo.c was missing the compat header file,
and convert-objects.c needs to define a specific
_XOPEN_SOURCE as well as _XOPEN_SOURCE_EXTENDED.
Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -243,6 +243,10 @@ ifeq ($(uname_S),NetBSD) ALL_CFLAGS += -I/usr/pkg/include ALL_LDFLAGS += -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib endif +ifeq ($(uname_S),AIX) + NO_STRCASESTR=YesPlease + NEEDS_LIBICONV=YesPlease +endif ifneq (,$(findstring arm,$(uname_M))) ARM_SHA1 = YesPlease endif |