don't set NATIVE_LIB_DIRS here.

This commit is contained in:
brad 2004-02-02 06:52:45 +00:00
parent f9a403c708
commit 36f7e6acad

View File

@ -1,19 +1,18 @@
$OpenBSD: patch-ld_configure_host,v 1.3 2003/10/11 00:52:22 brad Exp $
$OpenBSD: patch-ld_configure_host,v 1.4 2004/02/02 06:52:45 brad Exp $
--- ld/configure.host.orig 2003-01-06 11:13:57.000000000 -0500
+++ ld/configure.host 2003-09-04 02:03:37.000000000 -0400
@@ -27,6 +27,11 @@ case "${host}" in
+++ ld/configure.host 2004-02-02 01:33:04.000000000 -0500
@@ -27,6 +27,10 @@ case "${host}" in
HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
;;
+*-*-openbsd*)
+ NATIVE_LIB_DIRS=/usr/lib
+ HOSTING_CRT0=/usr/lib/crt0.o
+ ;;
+
*-*-linux*aout* | *-*-linux*oldld)
HOSTING_CRT0=/usr/lib/crt0.o
;;
@@ -212,6 +217,9 @@ x86_64-*-linux-gnu*)
@@ -212,6 +216,9 @@ x86_64-*-linux-gnu*)
*-*-freebsd*)
;;