From c72041ebe744c7c3fd8411fafd93abe46292bff4 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 8 Jun 2022 14:35:31 -0400 Subject: [PATCH] jjb: lttng-modules: disable -Werror for kernel builds Signed-off-by: Michael Jeanson Change-Id: I0f34bcaff17ba61279f089d7619eb4aa0efd873f --- scripts/lttng-modules/param-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index 902ee72..ef7a3d0 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -267,6 +267,9 @@ build_linux_kernel() { scripts/config --disable CONFIG_IGBVF fi + # Don't fail the build on warnings + scripts/config --disable CONFIG_WERROR + # Set required options scripts/config --enable CONFIG_TRACEPOINTS scripts/config --enable CONFIG_KALLSYMS -- 2.34.1