summaryrefslogtreecommitdiff
path: root/mythes
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-17 23:29:39 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-17 23:29:39 +0300
commitc3eb3cc710068d8b9c70f3393841548b7ff2f39a (patch)
tree1ec6b0564e093d6ae4d7b8b61d5bee172594d5a0 /mythes
parentd18133f5f06d7be22a8241c21162f1c3caf5236f (diff)
Pass --build and --host options also when cross-compiling to Windows
Diffstat (limited to 'mythes')
-rw-r--r--mythes/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index abd7038efdc6..b0054c9c8dc5 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