[binutils-gdb] sim: bpf: enable -Werror usage

Michael Frysinger vapier@sourceware.org
Mon Jun 28 15:31:05 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=78484bcab9ac1cab4ddc87fdbdc4a7e1fab7c5ee

commit 78484bcab9ac1cab4ddc87fdbdc4a7e1fab7c5ee
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Jun 26 23:29:17 2021 -0400

    sim: bpf: enable -Werror usage
    
    Now that all bpf warnings have been cleaned up, turn on -Werror.

Diff:
---
 sim/bpf/ChangeLog   | 4 ++++
 sim/bpf/Makefile.in | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
index ce383859b26..046c450198d 100644
--- a/sim/bpf/ChangeLog
+++ b/sim/bpf/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-28  Mike Frysinger  <vapier@gentoo.org>
+
+	* Makefile.in (SIM_WERROR_CFLAGS): Delete.
+
 2021-06-28  Mike Frysinger  <vapier@gentoo.org>
 
 	* bpf.c (bpfbf_exit): Use PRI 64 formats.
diff --git a/sim/bpf/Makefile.in b/sim/bpf/Makefile.in
index c48c37837e6..3188ab1b0c2 100644
--- a/sim/bpf/Makefile.in
+++ b/sim/bpf/Makefile.in
@@ -41,9 +41,6 @@ SIM_EXTRA_DEPS = \
 
 SIM_EXTRA_CLEAN = bpf-clean
 
-# Code doesn't build cleanly yet.
-SIM_WERROR_CFLAGS =
-
 ## COMMON_POST_CONFIG_FRAG
 
 # BPF headers


More information about the Gdb-cvs mailing list