From 55b7e3d8d3ed6ffcf99568689c08d0645bfde1f5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 17 Jun 2011 23:35:37 +0300 Subject: Pass --build and --host options also when cross-compiling to Windows --- hunspell/makefile.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hunspell/makefile.mk') 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 -- cgit