summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-08-09 15:29:52 +0000
committerdeischen <deischen@FreeBSD.org>2003-08-09 15:29:52 +0000
commit52d72144a6e767aea721c7a3f0cedae038aae7be (patch)
treea996d475358a06c3b9fabbbf9f3da475451ecc35 /lib
parent4f850b7725addd63b26b2d7534540b0222d36d8e (diff)
downloadFreeBSD-src-52d72144a6e767aea721c7a3f0cedae038aae7be.zip
FreeBSD-src-52d72144a6e767aea721c7a3f0cedae038aae7be.tar.gz
Add libpthread to the alpha build.
Requested by ru: Since the majority of archs can now support the build of libpthread, rearrange the Makefile to treat libpthread as an exception.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3e77e3f..5f64613 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -63,15 +63,6 @@ _compat= compat
_libncp= libncp
_libsmb= libsmb
_libvgl= libvgl
-.if !defined(NOLIBPTHREAD)
-_libpthread= libpthread
-.endif
-.endif
-
-.if ${MACHINE_ARCH} == "ia64"
-.if !defined(NOLIBPTHREAD)
-_libpthread= libpthread
-.endif
.endif
.if ${MACHINE_ARCH} == "alpha"
@@ -82,6 +73,9 @@ _compat= compat
.if ${MACHINE_ARCH} == "amd64"
_libncp= libncp
_libsmb= libsmb
+.endif
+
+.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "sparc64"
.if !defined(NOLIBPTHREAD)
_libpthread= libpthread
.endif
OpenPOWER on IntegriCloud