summaryrefslogtreecommitdiff
path: root/config/submodule/coreboot/default/libhwbase
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-21 11:01:45 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-21 11:23:03 +0100
commit0a8b27e8a61f4ff4dc04fd52bcb0e6ba63829c09 (patch)
tree35a2f27f1dea4ab074a8163e6a79a7a486ff959b /config/submodule/coreboot/default/libhwbase
parent329319b66569f9bdde30ccc1d0f1d27e87a8dbe8 (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'config/submodule/coreboot/default/libhwbase')
-rw-r--r--config/submodule/coreboot/default/libhwbase/0001-remove-Werror.patch26
1 files changed, 26 insertions, 0 deletions
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 <leah@libreboot.org>
+Date: Mon, 21 Sep 2026 10:58:18 +0100
+Subject: [PATCH 1/1] remove -Werror
+
+Signed-off-by: Leah Rowe <leah@libreboot.org>
+---
+ 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
+