Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libproc/lib Mark as using c++ using LIBISCXX in...



details:   https://anonhg.NetBSD.org/src/rev/170b58f730a7
branches:  trunk
changeset: 342478:170b58f730a7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Dec 24 00:36:43 2015 +0000

description:
Mark as using c++ using LIBISCXX instead of manual workaround.

The workaround was confused when MKLLVM was set, but HAVE_LLVM was not.

Solution suggested by joerg.

diffstat:

 external/bsd/libproc/lib/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 162a247d1442 -r 170b58f730a7 external/bsd/libproc/lib/Makefile
--- a/external/bsd/libproc/lib/Makefile Wed Dec 23 23:31:28 2015 +0000
+++ b/external/bsd/libproc/lib/Makefile Thu Dec 24 00:36:43 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/09/24 14:12:48 christos Exp $
+# $NetBSD: Makefile,v 1.2 2015/12/24 00:36:43 wiz Exp $
 
 .include <bsd.own.mk>
 
@@ -36,11 +36,7 @@
 .if defined(NOCPLUSPLUS)
 CPPFLAGS+=     -DNO_CXA_DEMANGLE
 .else
-. if ${MKLIBCXX} == "yes"
-LIBDPLIBS+=     c++     ${NETBSDSRCDIR}/external/bsd/libc++/lib
-. else
-LIBDPLIBS+=     stdc++  ${NETBSDSRCDIR}/external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3
-. endif
+LIBISCXX=      yes
 .endif
 
 LIBDPLIBS+=    elf ${NETBSDSRCDIR}/external/bsd/elftoolchain/lib/libelf



Home | Main Index | Thread Index | Old Index