blob: 013ad20619e57c2e38a8ed1d4d58d81d58f1c57d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
index e3b2578..acd76e8 100644
--- a/lib/libproc/Makefile
+++ b/lib/libproc/Makefile
@@ -18,7 +18,7 @@ CFLAGS+= -I${.CURDIR}
.if ${MK_CXX} == "no"
CFLAGS+= -DNO_CXA_DEMANGLE
-.elif ${MK_LIBCPLUSPLUS} != "no"
+.elif ${COMPILER_TYPE} == "clang"
LIBADD+= cxxrt
.else
LIBADD+= supcplusplus
|