libc++abi: Pure virtual function called!
By statically linking clang (and *-tblgen) this problem is worked around
at least for now.
-# $OpenBSD: Makefile.inc,v 1.22 2021/04/28 12:55:37 patrick Exp $
+# $OpenBSD: Makefile.inc,v 1.23 2021/05/14 02:29:00 drahn Exp $
CLANG_SRCS?= ${.CURDIR}/../../../llvm/clang
LLDB_SRCS?= ${.CURDIR}/../../../llvm/lldb
CXX= eg++
.endif
+.if ${MACHINE_ARCH} == "riscv64"
+LDSTATIC=-static
+.endif
+
DEBUG=
NOPIE=