From 8f480cc57837972870cfe11584193f6d4802ff9a Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Thu, 16 Apr 2020 23:28:35 +0100 Subject: [PATCH] kernel/bcc: Disbale -Werror for elfutils buils with the new C tool chain elfutils fails with with warnings: Signed-off-by: Rolf Neugebauer --- kernel/Dockerfile.bcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/Dockerfile.bcc b/kernel/Dockerfile.bcc index c71097b35..0ff845ca5 100644 --- a/kernel/Dockerfile.bcc +++ b/kernel/Dockerfile.bcc @@ -70,7 +70,7 @@ RUN tar xf /build/kernel-headers.tar && \ RUN cd elfutils-$ELFUTILS_VERSION && \ aclocal && \ automake && \ - ./configure --prefix=/usr CFLAGS=-Wno-strict-aliasing && \ + ./configure --prefix=/usr CFLAGS="-Wno-strict-aliasing -Wno-error" && \ make -C libelf && make -C libelf install RUN mkdir -p bcc/build && cd bcc/build && \