From 85696174118dfa5ac1f096fcd31c04fe1cc97e8d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 24 Jan 2003 13:06:27 +0000 Subject: Fixup bash cross compile --- make/bash.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'make/bash.mk') diff --git a/make/bash.mk b/make/bash.mk index b7c054734..302244c65 100644 --- a/make/bash.mk +++ b/make/bash.mk @@ -21,9 +21,11 @@ $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE) $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked (cd $(BASH_DIR); rm -rf config.cache; \ - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ + PATH=$(STAGING_DIR)/bin:$$PATH \ + CC=$(TARGET_CC) CC_FOR_BUILD=$(HOSTCC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ @@ -41,7 +43,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked touch $(BASH_DIR)/.configured $(BASH_DIR)/$(BASH_BINARY): $(BASH_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(BASH_DIR) + $(MAKE) CC=$(TARGET_CC) CC_FOR_BUILD=$(HOSTCC) -C $(BASH_DIR) $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install -- cgit v1.2.3