From 1fc3f2f3de0f731c2869a48f951557eed6704218 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Mar 2003 19:16:19 +0000 Subject: Rework things to ensure we are cross compiling. Teach problematic apps like openssh to cross compile. This eliminates the need for the magic ld-uClibc.so.0 symlink in /lib --- make/newt.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'make/newt.mk') diff --git a/make/newt.mk b/make/newt.mk index d8208ac29..04c5c8b7c 100644 --- a/make/newt.mk +++ b/make/newt.mk @@ -23,9 +23,11 @@ $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE) $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source (cd $(NEWT_DIR); rm -rf config.cache; \ - PATH=$(TARGET_PATH) CC=$(TARGET_CC) \ + $(TARGET_CONFIGURE_OPTS) \ ./configure \ --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ -- cgit v1.2.3