summaryrefslogtreecommitdiff
path: root/mythes/makefile.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-07 00:05:01 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-07 00:05:01 +0300
commitbd2673ba5c06fc3ddf1073d59b4c5d1e3daea886 (patch)
tree0792b0f644754fa65d9b6f4e6572808baac26b3c /mythes/makefile.mk
parent47ef127cb4f217c00bd7b382008be6e7444af93e (diff)
Add cross-compilation support
Diffstat (limited to 'mythes/makefile.mk')
-rw-r--r--mythes/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index 20efeade0a89..563c756ce339 100644
--- a/mythes/makefile.mk
+++ b/mythes/makefile.mk
@@ -80,6 +80,10 @@ CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)"
CONFIGURE_FLAGS+=CFLAGS='$(LCL_CONFIGURE_CFLAGS)'
.ENDIF
+.IF "$(CROSS_COMPILING)"=="YES"
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no
+.ENDIF
+
BUILD_ACTION=make
OUT2INC += mythes.hxx
.ENDIF