diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-07 00:05:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-07 00:05:01 +0300 |
commit | bd2673ba5c06fc3ddf1073d59b4c5d1e3daea886 (patch) | |
tree | 0792b0f644754fa65d9b6f4e6572808baac26b3c | |
parent | Always compare CROSS_COMPILING explicitly to "YES" (diff) | |
download | core-bd2673ba5c06fc3ddf1073d59b4c5d1e3daea886.tar.gz core-bd2673ba5c06fc3ddf1073d59b4c5d1e3daea886.zip |
Add cross-compilation support
-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 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 |