diff options
-rw-r--r-- | hunspell/makefile.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk index b363d983a7d8..d43bcb07e8e2 100644 --- a/hunspell/makefile.mk +++ b/hunspell/makefile.mk @@ -81,7 +81,13 @@ OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a .IF "$(GUI)"=="WNT" .IF "$(COM)"=="GCC" CONFIGURE_ACTION=configure + CONFIGURE_FLAGS= --disable-shared --disable-nls --with-pic LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2 + +.IF "$(CROSS_COMPILING)"=="YES" +CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) +.ENDIF + BUILD_ACTION=make OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a .ELSE |