artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb88e1
)
define _LIBCXXABI_BUILDING_LIBRARY to avoid the same issues as in libcxx
author
robert
<robert@openbsd.org>
Tue, 11 Sep 2018 18:36:58 +0000
(18:36 +0000)
committer
robert
<robert@openbsd.org>
Tue, 11 Sep 2018 18:36:58 +0000
(18:36 +0000)
lib/libcxxabi/Makefile
patch
|
blob
|
history
diff --git
a/lib/libcxxabi/Makefile
b/lib/libcxxabi/Makefile
index
943fa0f
..
ad7d695
100644
(file)
--- a/
lib/libcxxabi/Makefile
+++ b/
lib/libcxxabi/Makefile
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile,v 1.1
0 2018/09/11 18:32:56
robert Exp $
+# $OpenBSD: Makefile,v 1.1
1 2018/09/11 18:36:58
robert Exp $
.include <bsd.own.mk>
@@
-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=*)