Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libc++/lib Explicitly disable standard C++ incl...



details:   https://anonhg.NetBSD.org/src/rev/db6b23f3e848
branches:  trunk
changeset: 786501:db6b23f3e848
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Apr 30 00:34:15 2013 +0000

description:
Explicitly disable standard C++ include paths to prevent mixing
includes.

diffstat:

 external/bsd/libc++/lib/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 714ce5ab571d -r db6b23f3e848 external/bsd/libc++/lib/Makefile
--- a/external/bsd/libc++/lib/Makefile  Tue Apr 30 00:33:16 2013 +0000
+++ b/external/bsd/libc++/lib/Makefile  Tue Apr 30 00:34:15 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2013/04/27 23:02:21 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2013/04/30 00:34:15 joerg Exp $
 
 LIB=           c++
 WARNS=         4
@@ -29,7 +29,7 @@
 
 .include <bsd.own.mk>
 
-CPPFLAGS+=     -cxx-isystem ${LIBCXX_SRCDIR}/include -I${LIBCXXRT_SRCDIR}/src
+CPPFLAGS+=     -nostdinc++ -cxx-isystem ${LIBCXX_SRCDIR}/include -I${LIBCXXRT_SRCDIR}/src
 CPPFLAGS+=     -DLIBCXXRT
 CXXFLAGS+=     ${${ACTIVE_CC} == "clang":? -std=c++11 : -std=c++0x}
 



Home | Main Index | Thread Index | Old Index