Source-Changes-HG archive

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

[src/trunk]: src/external/apache2/llvm apply some GCC 9 -Wno-error*



details:   https://anonhg.NetBSD.org/src/rev/6fb7bb5fd005
branches:  trunk
changeset: 938342:6fb7bb5fd005
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 00:18:25 2020 +0000

description:
apply some GCC 9 -Wno-error*

diffstat:

 external/apache2/llvm/lib/libLLVMAnalysis/Makefile          |  4 +++-
 external/apache2/llvm/lib/libLLVMInstCombine/Makefile       |  4 +++-
 external/apache2/llvm/lib/libLLVMInstrumentation/Makefile   |  4 +++-
 external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile |  4 +++-
 external/apache2/llvm/librt/Makefile.inc                    |  4 +++-
 external/apache2/llvm/librt/libLLVMAnalysis/Makefile        |  4 +++-
 external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile     |  4 +++-
 7 files changed, 21 insertions(+), 7 deletions(-)

diffs (94 lines):

diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/lib/libLLVMAnalysis/Makefile
--- a/external/apache2/llvm/lib/libLLVMAnalysis/Makefile        Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/lib/libLLVMAnalysis/Makefile        Mon Sep 07 00:18:25 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:04 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $
 
 LIB=   LLVMAnalysis
 
@@ -111,3 +111,5 @@
 .else
 .include <bsd.lib.mk>
 .endif
+
+CWARNFLAGS.gcc+=       ${GCC_NO_STRINGOP_OVERFLOW}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/lib/libLLVMInstCombine/Makefile
--- a/external/apache2/llvm/lib/libLLVMInstCombine/Makefile     Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/lib/libLLVMInstCombine/Makefile     Mon Sep 07 00:18:25 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $
 
 LIB=   LLVMInstCombine
 
@@ -32,3 +32,5 @@
 .else
 .include <bsd.lib.mk>
 .endif
+
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/lib/libLLVMInstrumentation/Makefile
--- a/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile Mon Sep 07 00:18:25 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $
 
 LIB=   LLVMInstrumentation
 
@@ -30,3 +30,5 @@
 .else
 .include <bsd.lib.mk>
 .endif
+
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile
--- a/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile       Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile       Mon Sep 07 00:18:25 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:13 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $
 
 LIB=   LLVMTransformsCFGuard
 
@@ -13,3 +13,5 @@
 .else
 .include <bsd.lib.mk>
 .endif
+
+CWARNFLAGS.gcc+=       ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/librt/Makefile.inc
--- a/external/apache2/llvm/librt/Makefile.inc  Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/librt/Makefile.inc  Mon Sep 07 00:18:25 2020 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.1 2019/11/11 22:45:18 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2020/09/07 00:18:26 mrg Exp $
 
 LLVM_TOPLEVEL:=        ${.PARSEDIR}/..
 NOSTATICLIB=   yes
 
 .include "${LLVM_TOPLEVEL}/lib/Makefile.inc"
 .include "${LLVM_TOPLEVEL}/lib/${.CURDIR:T}/Makefile"
+
+CWARNFLAGS.gcc+=       ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/librt/libLLVMAnalysis/Makefile
--- a/external/apache2/llvm/librt/libLLVMAnalysis/Makefile      Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/librt/libLLVMAnalysis/Makefile      Mon Sep 07 00:18:25 2020 +0000
@@ -1,3 +1,5 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:20 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:26 mrg Exp $
 
 .include <bsd.init.mk>
+
+#CWARNFLAGS.gcc+=      ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :}
diff -r da459db98341 -r 6fb7bb5fd005 external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile
--- a/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile   Mon Sep 07 00:11:47 2020 +0000
+++ b/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile   Mon Sep 07 00:18:25 2020 +0000
@@ -1,3 +1,5 @@
-#      $NetBSD: Makefile,v 1.1 2019/11/11 22:45:23 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2020/09/07 00:18:26 mrg Exp $
 
 .include <bsd.init.mk>
+
+CWARNFLAGS.gcc+=       ${GCC_NO_STRINGOP_OVERFLOW}



Home | Main Index | Thread Index | Old Index