From: robert Date: Tue, 11 Sep 2018 18:36:58 +0000 (+0000) Subject: define _LIBCXXABI_BUILDING_LIBRARY to avoid the same issues as in libcxx X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1a493c665a96fe3db446324d5c19191f7187e129;p=openbsd define _LIBCXXABI_BUILDING_LIBRARY to avoid the same issues as in libcxx --- diff --git a/lib/libcxxabi/Makefile b/lib/libcxxabi/Makefile index 943fa0f610f..ad7d6959f3b 100644 --- a/lib/libcxxabi/Makefile +++ b/lib/libcxxabi/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2018/09/11 18:32:56 robert Exp $ +# $OpenBSD: Makefile,v 1.11 2018/09/11 18:36:58 robert Exp $ .include @@ -49,6 +49,7 @@ SRCS+= abort_message.cpp \ CPPFLAGS+= -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} CPPFLAGS+= -D_LIBUNWIND_IS_NATIVE_ONLY +CPPFLAGS+= -D_LIBCXXABI_BUILDING_LIBRARY CFLAGS+= -nostdlib -funwind-tables CXXFLAGS+= -nostdlib -nostdinc++ -funwind-tables .if empty(CXXFLAGS:M-std=*)