summaryrefslogtreecommitdiffstats
path: root/sbin/ggate
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index 03ef1ba..4dd5141 100644
--- a/sbin/ggate/Makefile
+++ b/sbin/ggate/Makefile
@@ -6,7 +6,12 @@ SUBDIR= ${_ggatec} \
${_ggated} \
ggatel
-.if ${MK_LIBPTHREAD} != "no"
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+.if ${MK_LIBC_R} != "no"
+_ggatec= ggatec
+_ggated= ggated
+.endif
+.elif ${MK_LIBPTHREAD} != "no"
_ggatec= ggatec
_ggated= ggated
.endif
OpenPOWER on IntegriCloud