aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-06-08 03:58:20 +0000
committerWarner Losh <imp@FreeBSD.org>2003-06-08 03:58:20 +0000
commitcedfd4f63f79363910083fdefcdde80eb6248dc5 (patch)
tree0b4b0a6a5984a2ee6d5ff8da52ae516912961604 /lib
parent3889b283ef6ce2d978ea407f08f142bb8cd5f514 (diff)
downloadsrc-cedfd4f63f79363910083fdefcdde80eb6248dc5.tar.gz
src-cedfd4f63f79363910083fdefcdde80eb6248dc5.zip
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@
Notes
Notes: svn path=/head/; revision=116004
Diffstat (limited to 'lib')
-rw-r--r--lib/libkse/support/Makefile.inc2
-rw-r--r--lib/libpthread/support/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/support/Makefile.inc b/lib/libkse/support/Makefile.inc
index 27f65245acd0..5c5d05928d8c 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 27f65245acd0..5c5d05928d8c 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