Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/llvm/librt Disable an init-list-lifetime wa...
details: https://anonhg.NetBSD.org/src/rev/fdc8b52bf503
branches: trunk
changeset: 954658:fdc8b52bf503
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 07 19:05:41 2020 +0000
description:
Disable an init-list-lifetime warning from gcc-9.
diffstat:
external/apache2/llvm/librt/Makefile.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r a04102d17e12 -r fdc8b52bf503 external/apache2/llvm/librt/Makefile.inc
--- a/external/apache2/llvm/librt/Makefile.inc Mon Sep 07 19:04:27 2020 +0000
+++ b/external/apache2/llvm/librt/Makefile.inc Mon Sep 07 19:05:41 2020 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.2 2020/09/07 00:18:26 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2020/09/07 19:05:41 christos Exp $
LLVM_TOPLEVEL:= ${.PARSEDIR}/..
NOSTATICLIB= yes
+COPTS+=${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} > 8:? -Wno-error=init-list-lifetime :}
+
.include "${LLVM_TOPLEVEL}/lib/Makefile.inc"
.include "${LLVM_TOPLEVEL}/lib/${.CURDIR:T}/Makefile"
Home |
Main Index |
Thread Index |
Old Index