Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libubsan use -Wno-error=maybe-uninitia...



details:   https://anonhg.NetBSD.org/src/rev/211aa0a77824
branches:  trunk
changeset: 996445:211aa0a77824
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Feb 01 10:39:03 2019 +0000

description:
use -Wno-error=maybe-uninitialized for one of the new ubsan files.

diffstat:

 external/gpl3/gcc/lib/libubsan/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d81c4dea1115 -r 211aa0a77824 external/gpl3/gcc/lib/libubsan/Makefile
--- a/external/gpl3/gcc/lib/libubsan/Makefile   Fri Feb 01 10:37:38 2019 +0000
+++ b/external/gpl3/gcc/lib/libubsan/Makefile   Fri Feb 01 10:39:03 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2018/07/01 17:41:50 christos Exp $
+#      $NetBSD: Makefile,v 1.9 2019/02/01 10:39:03 mrg Exp $
 
 UNSUPPORTED_COMPILER.clang=    # defined
 LIBISCXX = yes
@@ -27,6 +27,8 @@
 COPTS.${_s}.cc+=-frtti
 .endfor
 
+COPTS.ubsan_handlers_cxx.cc+= -Wno-error=maybe-uninitialized
+
 LIB=   ubsan
 SRCS+= ${UBSAN_SRCS}
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt



Home | Main Index | Thread Index | Old Index