From cedfd4f63f79363910083fdefcdde80eb6248dc5 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 8 Jun 2003 03:58:20 +0000 Subject: [PATCH] Don't force -L/usr/lib. This is incorrect because we should not be looking at the host environment for anything. This breaks building -CURRENT on 4.x as well. Submitted by: kan@ --- lib/libkse/support/Makefile.inc | 2 +- lib/libpthread/support/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libkse/support/Makefile.inc b/lib/libkse/support/Makefile.inc index 27f65245acd..5c5d05928d8 100644 --- a/lib/libkse/support/Makefile.inc +++ b/lib/libkse/support/Makefile.inc @@ -6,5 +6,5 @@ SRCS += thr_support.c SOBJS+= thr_libc.So thr_libc.So: thr_support.So - ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic + ${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc index 27f65245acd..5c5d05928d8 100644 --- a/lib/libpthread/support/Makefile.inc +++ b/lib/libpthread/support/Makefile.inc @@ -6,5 +6,5 @@ SRCS += thr_support.c SOBJS+= thr_libc.So thr_libc.So: thr_support.So - ${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic + ${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic