diff --git a/Makefile b/Makefile index 73a8016..989589f 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,8 @@ SUBDIR= ${_ggatec} \ ${_ggated} \ ggatel -.if ${MACHINE_ARCH} == "sparc64" -.if ${MK_LIBTHR} != "no" -_ggatec= ggatec -_ggated= ggated -.endif -.elif ${MK_LIBPTHREAD} != "no" +.if ${MK_LIBTHR} != "no" || \ + (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no") _ggatec= ggatec _ggated= ggated .endif