Module Name: src
Committed By: mrg
Date: Tue Mar 15 03:17:59 UTC 2016
Modified Files:
src/external/bsd/libproc/lib: Makefile
Log Message:
don't try to do c++ if MKCXX == "no".
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libproc/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libproc/lib/Makefile
diff -u src/external/bsd/libproc/lib/Makefile:1.2 src/external/bsd/libproc/lib/Makefile:1.3
--- src/external/bsd/libproc/lib/Makefile:1.2 Thu Dec 24 00:36:43 2015
+++ src/external/bsd/libproc/lib/Makefile Tue Mar 15 03:17:59 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/12/24 00:36:43 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2016/03/15 03:17:59 mrg Exp $
.include <bsd.own.mk>
@@ -33,7 +33,7 @@ CPPFLAGS+= -I${OSNET}/sys \
CPPFLAGS+= -DNO_CTF
.endif
-.if defined(NOCPLUSPLUS)
+.if defined(NOCPLUSPLUS) || ${MKCXX} == "no"
CPPFLAGS+= -DNO_CXA_DEMANGLE
.else
LIBISCXX= yes