summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-06-11 12:47:47 +0000
committerchristos <christos@NetBSD.org>2018-06-11 12:47:47 +0000
commitdf47ec31745dadc57e986a94de29e5329fc11b19 (patch)
treeea8892420dfac4bddc85962c006985f2c7fcaba2
parent9a7f58ef3fc03d741b524deb4f164d6acb79352e (diff)
Add libstdc++ again; needed for:
undefined reference to `typeinfo for __cxxabiv1::__class_type_info' undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info' undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info' undefined reference to `typeinfo for std::type_info' undefined reference to `__dynamic_cast'
-rw-r--r--external/gpl3/gcc/lib/libubsan/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/gpl3/gcc/lib/libubsan/Makefile b/external/gpl3/gcc/lib/libubsan/Makefile
index 981123cc29b..cd6dcb21970 100644
--- a/external/gpl3/gcc/lib/libubsan/Makefile
+++ b/external/gpl3/gcc/lib/libubsan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/02/14 03:37:39 christos Exp $
+# $NetBSD: Makefile,v 1.6 2018/06/11 12:47:47 christos Exp $
UNSUPPORTED_COMPILER.clang= # defined
@@ -28,6 +28,7 @@ COPTS.${_s}.cc+=-frtti
LIB= ubsan
SRCS+= ${UBSAN_SRCS}
+LIBDPLIBS+= stdc++ ${.CURDIR}/../libstdc++-v3
LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
.if ${MACHINE_ARCH} == "vax"