diff --git a/lib/Makefile b/lib/Makefile index 1f6ca1bacf67..b57bec001418 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -66,18 +66,12 @@ _libvgl= libvgl .if !defined(NOLIBPTHREAD) _libpthread= libpthread .endif -.if !defined(NOLIBTHR) -_libthr= libthr -.endif .endif .if ${MACHINE_ARCH} == "ia64" .if !defined(NOLIBPTHREAD) _libpthread= libpthread .endif -.if !defined(NOLIBTHR) -_libthr= libthr -.endif .endif .if ${MACHINE_ARCH} == "alpha" @@ -85,6 +79,12 @@ _libio= libio _compat= compat .endif +.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc" +.if !defined(NOLIBTHR) +_libthr= libthr +.endif +.endif + .if ${MACHINE_ARCH} != "powerpc" _libdisk= libdisk .endif