diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-26 01:13:27 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-26 01:13:27 +0300 |
commit | 315641944d405f9c304ff8e2dc4de22ae99f45fd (patch) | |
tree | 002c868deacdf83e4b1576f055ce55992a685a9f /expat/makefile.mk | |
parent | 8e872440fdf116e903baf92c80b88154566688c8 (diff) |
Pass --build and --host when cross-compiling
Diffstat (limited to 'expat/makefile.mk')
-rw-r--r-- | expat/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/expat/makefile.mk b/expat/makefile.mk index 867e2b371558..6084cf54bddd 100644 --- a/expat/makefile.mk +++ b/expat/makefile.mk @@ -55,6 +55,10 @@ CONFIGURE_ACTION= CONFIGURE_ACTION=.$/configure .ENDIF +.IF "$(CROSS_COMPILING)"!="" +CONFIGURE_FLAGS+= --build="$(BUILD_PLATFORM)" --host="$(HOST_PLATFORM)" +.ENDIF + BUILD_DIR=lib BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) |