Module Name: src
Committed By: joerg
Date: Tue Apr 30 00:34:16 UTC 2013
Modified Files:
src/external/bsd/libc++/lib: Makefile
Log Message:
Explicitly disable standard C++ include paths to prevent mixing
includes.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libc++/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/libc++/lib/Makefile
diff -u src/external/bsd/libc++/lib/Makefile:1.1 src/external/bsd/libc++/lib/Makefile:1.2
--- src/external/bsd/libc++/lib/Makefile:1.1 Sat Apr 27 23:02:21 2013
+++ src/external/bsd/libc++/lib/Makefile Tue Apr 30 00:34:15 2013
@@ -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 @@ CLEANFILES+= rt_${src}
.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}