diff options
Diffstat (limited to 'lib/libcxx/Makefile')
-rw-r--r-- | lib/libcxx/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxx/Makefile b/lib/libcxx/Makefile index f27bb76607d..1c2070187f5 100644 --- a/lib/libcxx/Makefile +++ b/lib/libcxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/04 12:48:33 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2016/09/19 11:22:39 kettenis Exp $ HDRDIR= ${.CURDIR}/include SRCDIR= ${.CURDIR}/src @@ -41,7 +41,7 @@ SRCS+= algorithm.cpp\ CPPFLAGS+= -DLIBCXXABI -I${HDRDIR} \ -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} -CXXFLAGS+= -nostdlib +CXXFLAGS+= -nostdlib -nostdinc++ .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11 .endif |