summaryrefslogtreecommitdiff
path: root/hunspell/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hunspell/makefile.mk')
-rw-r--r--hunspell/makefile.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index db667cc038d2..f7e17c9dad0c 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -62,8 +62,10 @@ CONFIGURE_FLAGS+= CFLAGS=-xc99=none
.IF "$(SYSBASE)"!=""
.IF "$(EXTRA_CFLAGS)"!=""
CONFIGURE_FLAGS+= CFLAGS="$(EXTRA_CFLAGS)" CXXFLAGS="$(EXTRA_CFLAGS)"
-.ENDIF # "$(SYSBASE)"!=""
.ENDIF # "$(EXTRA_CFLAGS)"!=""
+.ELIF "$(OS)"=="MACOSX" # "$(SYSBASE)"!=""
+CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)"
+.ENDIF
BUILD_ACTION=make && make check