Module Name: src
Committed By: christos
Date: Mon Jun 11 12:47:47 UTC 2018
Modified Files:
src/external/gpl3/gcc/lib/libubsan: Makefile
Log Message:
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'
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libubsan/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libubsan/Makefile
diff -u src/external/gpl3/gcc/lib/libubsan/Makefile:1.5 src/external/gpl3/gcc/lib/libubsan/Makefile:1.6
--- src/external/gpl3/gcc/lib/libubsan/Makefile:1.5 Tue Feb 13 22:37:39 2018
+++ src/external/gpl3/gcc/lib/libubsan/Makefile Mon Jun 11 08:47:47 2018
@@ -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"