summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ggate/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index 73a8016..989589f 100644
--- a/sbin/ggate/Makefile
+++ b/sbin/ggate/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
OpenPOWER on IntegriCloud