From 0a8b27e8a61f4ff4dc04fd52bcb0e6ba63829c09 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 21 Sep 2026 11:01:45 +0100 Subject: coreboot: remove Werror everywhere NOTE; don't need to patch xgcc, because coreboot passes --disable-werror already, on all versions of coreboot. this patch should now make builds more reliable, reducing the chance that newer linux distros and toolchains will break lbmk in the future. (testing needed on archlinux as always) Signed-off-by: Leah Rowe --- .../default/libhwbase/0001-remove-Werror.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch (limited to 'config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch') diff --git a/config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch b/config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch new file mode 100644 index 00000000..8f0eba58 --- /dev/null +++ b/config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch @@ -0,0 +1,26 @@ +From 5453dc70cdf327e5b4228fbce34b03107936628f Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Mon, 21 Sep 2026 10:58:18 +0100 +Subject: [PATCH 1/1] remove -Werror + +Signed-off-by: Leah Rowe +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index e8d864e..9c10fb6 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,7 +43,7 @@ endif + CC = $(CROSS_COMPILE)gcc + GNATBIND = $(CROSS_COMPILE)gnatbind + +-CFLAGS += -Wuninitialized -Wall -Werror ++CFLAGS += -Wuninitialized -Wall + CFLAGS += -pipe -g + CFLAGS += -Wstrict-aliasing -Wshadow + CFLAGS += -fno-common -fomit-frame-pointer +-- +2.47.3 + -- cgit v1.2.1