From a3c369662401501a5ebad8fe30f7e23cbce9949d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 6 Jun 2011 01:07:50 +0300 Subject: 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.) --- gettext/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gettext') diff --git a/gettext/makefile.mk b/gettext/makefile.mk index cf13c736aed2..5b82a3c5fb56 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) -- cgit v1.2.3