diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-17 23:29:39 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-17 23:29:39 +0300 |
commit | d6fd5fef4055c99b296d2daf39bdf8ea044a23f4 (patch) | |
tree | ffd2cac1953effe33a01208e185088f4ac6ec397 | |
parent | 6e01b00b151c79e4999b967404346c7cab33c819 (diff) |
Pass --build and --host options also when cross-compiling to Windows
-rw-r--r-- | mythes/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk index abd7038..b0054c9 100644 --- a/mythes/makefile.mk +++ b/mythes/makefile.mk @@ -98,6 +98,10 @@ CONFIGURE_FLAGS= --disable-shared --with-pic \ HUNSPELL_CFLAGS=-I$(SOLARINCDIR)$/hunspell \ HUNSPELL_LIBS="-L$(SOLARLIBDIR) -lhunspell-1.2" +.IF "$(CROSS_COMPILING)"=="YES" +CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no +.ENDIF + BUILD_ACTION=make .ELSE |