summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-21 21:47:05 +0000
committerru <ru@FreeBSD.org>2004-09-21 21:47:05 +0000
commit5361b04b030689849bbecb5ac450cabef8280783 (patch)
tree6d69b547437a01ab0faee1881762809a73d515e2 /Makefile.inc1
parentfca3e8d0f025bb870813611c5bda70c7a04a0aa1 (diff)
downloadFreeBSD-src-5361b04b030689849bbecb5ac450cabef8280783.zip
FreeBSD-src-5361b04b030689849bbecb5ac450cabef8280783.tar.gz
Hopefully fix alpha and sparc64 builds: on these architectures,
libpthread is provided by src/lib/libc_r. Also, removed lib/bind from _generic_libs, "lib" will suffice. Also, removed redundant lib/bind dependency on lib/libpthread (as lib/bind is not in the _prebuild_libs, it's not needed). Prodded by: trhodes@ reporting that des@ is on the flight
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 44bf89d..abd5d62 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -901,10 +901,11 @@ _prebuild_libs+= lib/libcom_err lib/libcrypt lib/libexpat \
lib/libopie__L lib/libtacplus__L: lib/libmd__L
.if !defined(NO_BIND)
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+_prebuild_libs+= lib/libc_r
+.else
_prebuild_libs+= lib/libpthread
-_generic_libs+= lib/bind
-
-lib/bind__L: lib/libpthread__L
+.endif
.endif
_generic_libs+= lib
OpenPOWER on IntegriCloud