diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-03-04 19:16:19 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-03-04 19:16:19 +0000 |
commit | 1fc3f2f3de0f731c2869a48f951557eed6704218 (patch) | |
tree | e5fa011e92f78d0feab200dde260ba21561e76d0 /make/ncurses.mk | |
parent | 36830baea210bba2490f643a1d147bf9adb2b62b (diff) |
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
Diffstat (limited to 'make/ncurses.mk')
-rw-r--r-- | make/ncurses.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/make/ncurses.mk b/make/ncurses.mk index 4c91fc5c9..7cc794738 100644 --- a/make/ncurses.mk +++ b/make/ncurses.mk @@ -5,7 +5,7 @@ # ############################################################# # Copyright (C) 2002 by Ken Restivo <ken@246gt.com> -# $Id: ncurses.mk,v 1.22 2003/02/12 12:43:15 andersen Exp $ +# $Id: ncurses.mk,v 1.23 2003/03/04 19:16:18 andersen Exp $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as @@ -39,10 +39,12 @@ $(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE) $(NCURSES_DIR)/.configured: $(NCURSES_DIR)/.dist (cd $(NCURSES_DIR); rm -rf config.cache; \ - PATH=$(TARGET_PATH) BUILD_CC=$(HOSTCC) \ - HOSTCC=$(HOSTCC) CC=$(TARGET_CC) \ + BUILD_CC=$(HOSTCC) HOSTCC=$(HOSTCC) \ + $(TARGET_CONFIGURE_OPTS) \ ./configure \ --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ |