summaryrefslogtreecommitdiff
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
commit1fc9f649427dbdb0cd58b0a8ac8ccc99388e8fe8 (patch)
tree847a833404f1aa391b398ecc7463243f499c238a
parent8fe1738cd4cae6a3b3eb467605c9d8e81355930d (diff)
Add cross-compilation support
-rw-r--r--mythes/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index 20efead..563c756 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