[Libreoffice-commits] .: gettext/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Sun Jun 5 15:10:36 PDT 2011
gettext/makefile.mk | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8e4fcaba73c8aa49b58b2c203b9afb27bd798d81
Author: Tor Lillqvist <tml at iki.fi>
Date: Mon Jun 6 01:07:50 2011 +0300
Fix cross-compilation to ppc MacOSX
Yeah, just build all the unneeded stuff (the executables like the
msgfmt command and their support libraries) in this case too, for
now. (We obviously won't be able to run ppc exectuables when
cross-compiling from Intel Mac.)
diff --git a/gettext/makefile.mk b/gettext/makefile.mk
index cf13c73..5b82a3c 100644
--- a/gettext/makefile.mk
+++ b/gettext/makefile.mk
@@ -57,6 +57,10 @@ CONFIGURE_ACTION=./configure --prefix=$(SRC_ROOT)/$(PRJNAME)/$(MISC) $(eq,$(VERB
CONFIGURE_FLAGS=--disable-dependeny-tracking --disable-acl --disable-curses --without-emacs --without-git --disable-java
CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)" CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" CXXFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)"
+.IF "$(CROSS_COMPILING)"!=""
+CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
+.ENDIF
+
BUILD_ACTION=$(GNUMAKE)
BUILD_DIR=$(CONFIGURE_DIR)
More information about the Libreoffice-commits
mailing list