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/gdbserver.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'make/gdbserver.mk') diff --git a/make/gdbserver.mk b/make/gdbserver.mk index bafd4d9e1..103184cef 100644 --- a/make/gdbserver.mk +++ b/make/gdbserver.mk @@ -12,12 +12,10 @@ GDB_WDIR:=$(BUILD_DIR)/gdbserver $(GDB_WDIR)/.configured: $(GDB_DIR)/.unpacked mkdir -p $(GDB_WDIR) (cd $(GDB_WDIR); rm -rf config.cache; \ - AR=$(TARGET_CROSS)ar \ - AS=$(TARGET_CROSS)as LD=$(TARGET_CROSS)ld \ - RANLIB=$(TARGET_CROSS)ranlib NM=$(TARGET_CROSS)nm \ - PATH=$(TARGET_PATH) CC=$(TARGET_CC) \ + $(TARGET_CONFIGURE_OPTS) \ $(GDB_DIR)/gdb/gdbserver/configure \ --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ -- cgit v1.2.3