[Libreoffice-commits] .: expat/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Wed May 25 15:13:47 PDT 2011
expat/makefile.mk | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6ceb73989e5e7731be02a33f1de6cef11c1569f7
Author: Tor Lillqvist <tml at iki.fi>
Date: Thu May 26 01:13:27 2011 +0300
Pass --build and --host when cross-compiling
diff --git a/expat/makefile.mk b/expat/makefile.mk
index 867e2b3..6084cf5 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)
More information about the Libreoffice-commits
mailing list