summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 070446f..5bb02e7 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -130,6 +130,9 @@ SUBDIR+=ipftest \
iptest
.endif
+.if ${CXX:T} == "c++"
+NOLIBC_R= yes
+.endif
.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "ia64"
SUBDIR+=pppctl
.endif
OpenPOWER on IntegriCloud