diff options
| author | joerg <joerg@NetBSD.org> | 2013-04-30 00:34:15 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-04-30 00:34:15 +0000 |
| commit | 2aaee73bd526a29f56c90771c6ef2d7840106659 (patch) | |
| tree | f89bad0d4be08685e0cff37a2090ed92277a3cba /external/bsd/libc++ | |
| parent | 11072c993daf54a195717c73b01898670a11dcf8 (diff) | |
Explicitly disable standard C++ include paths to prevent mixing
includes.
Diffstat (limited to 'external/bsd/libc++')
| -rw-r--r-- | external/bsd/libc++/lib/Makefile | 4 |
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} |
