summaryrefslogtreecommitdiff
path: root/external/bsd/libc++
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2013-04-30 00:34:15 +0000
committerjoerg <joerg@NetBSD.org>2013-04-30 00:34:15 +0000
commit2aaee73bd526a29f56c90771c6ef2d7840106659 (patch)
treef89bad0d4be08685e0cff37a2090ed92277a3cba /external/bsd/libc++
parent11072c993daf54a195717c73b01898670a11dcf8 (diff)
Explicitly disable standard C++ include paths to prevent mixing
includes.
Diffstat (limited to 'external/bsd/libc++')
-rw-r--r--external/bsd/libc++/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/bsd/libc++/lib/Makefile b/external/bsd/libc++/lib/Makefile
index bfb1804d0f1..5ad6a8ca9d7 100644
--- a/external/bsd/libc++/lib/Makefile
+++ b/external/bsd/libc++/lib/Makefile
@@ -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}