Module Name: src Committed By: christos Date: Mon Sep 7 19:05:41 UTC 2020
Modified Files: src/external/apache2/llvm/librt: Makefile.inc Log Message: Disable an init-list-lifetime warning from gcc-9. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/apache2/llvm/librt/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/apache2/llvm/librt/Makefile.inc diff -u src/external/apache2/llvm/librt/Makefile.inc:1.2 src/external/apache2/llvm/librt/Makefile.inc:1.3 --- src/external/apache2/llvm/librt/Makefile.inc:1.2 Sun Sep 6 20:18:26 2020 +++ src/external/apache2/llvm/librt/Makefile.inc Mon Sep 7 15:05:41 2020 @@ -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"