diff options
Diffstat (limited to 'lib/libproc/Makefile')
-rw-r--r-- | lib/libproc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile index 7375a9a..dafe10d 100644 --- a/lib/libproc/Makefile +++ b/lib/libproc/Makefile @@ -15,7 +15,9 @@ INCS= libproc.h CFLAGS+= -I${.CURDIR} -.if ${MK_LIBCPLUSPLUS} != "no" +.if ${MK_CXX} == "no" +CFLAGS+= -DNO_CXA_DEMANGLE +.elif ${MK_LIBCPLUSPLUS} != "no" LDADD+= -lcxxrt DPADD+= ${LIBCXXRT} .else |