summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-13 13:21:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 14:34:03 +0100
commitd739047a91c294d4e87d09c90401f22b4a716e96 (patch)
tree9d4bb7d62b65a4160a906d9b04a42623c0494576 /hunspell
parent37d631a7ef49fff29afa98faf9813a5dfaa3186c (diff)
fix AIX build
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index 253607ab0c0f..a455cce62388 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -54,6 +54,10 @@ CONFIGURE_FLAGS= --disable-shared --with-pic
CONFIGURE_FLAGS+= CFLAGS=-xc99=none
.ENDIF # "$(COMNAME)"=="sunpro5"
+.IF "$(OS)"=="AIX"
+CONFIGURE_FLAGS+= CFLAGS=-D_LINUX_SOURCE_COMPAT
+.ENDIF
+
.IF "$(SYSBASE)"!=""
.IF "$(EXTRA_CFLAGS)"!=""
CONFIGURE_FLAGS+= CFLAGS="$(EXTRA_CFLAGS)" CXXFLAGS="$(EXTRA_CFLAGS)"