diff options
author | 2016-09-19 11:23:16 +0000 | |
---|---|---|
committer | 2016-09-19 11:23:16 +0000 | |
commit | 5f99fd46fe543c4771f8b83da2b49d57c8f09a8b (patch) | |
tree | 9034563d9ce30e3b4c3229bdff614ad57adda71a /lib/libcxxabi | |
parent | Add -nostdinc++ like the original CMakeLists.txt does. Fixes bulding with (diff) | |
download | wireguard-openbsd-5f99fd46fe543c4771f8b83da2b49d57c8f09a8b.tar.xz wireguard-openbsd-5f99fd46fe543c4771f8b83da2b49d57c8f09a8b.zip |
Add -nostdinc++ like the original CMakeLists.txt does. Fixes bulding with
clang++.
ok pascal@, patrick@
Diffstat (limited to 'lib/libcxxabi')
-rw-r--r-- | lib/libcxxabi/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxxabi/Makefile b/lib/libcxxabi/Makefile index cff5841be9e..a64737ec00e 100644 --- a/lib/libcxxabi/Makefile +++ b/lib/libcxxabi/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/04 12:48:34 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2016/09/19 11:23:16 kettenis Exp $ HDRDIR= ${.CURDIR}/include SRCDIR= ${.CURDIR}/src @@ -39,7 +39,7 @@ SRCS+= abort_message.cpp\ libunwind.cpp CPPFLAGS+= -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} -CXXFLAGS+= -nostdlib -funwind-tables +CXXFLAGS+= -nostdlib -nostdinc++ -funwind-tables .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11 .endif |