From 2ecfe63b5f96331d4d7b8afbee07ba9dbd69ef5d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 23 Apr 2026 20:29:38 +0100 Subject: coreboot: never, ever use Werror not even once Signed-off-by: Leah Rowe --- .../libhwbase/patches/0001-disable-werror.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config/submodule/coreboot/default/libhwbase/patches/0001-disable-werror.patch (limited to 'config/submodule/coreboot/default/libhwbase') diff --git a/config/submodule/coreboot/default/libhwbase/patches/0001-disable-werror.patch b/config/submodule/coreboot/default/libhwbase/patches/0001-disable-werror.patch new file mode 100644 index 00000000..f7c423d0 --- /dev/null +++ b/config/submodule/coreboot/default/libhwbase/patches/0001-disable-werror.patch @@ -0,0 +1,26 @@ +From 215db3c92bc21d6d07d9cd6e209f45d90298fda8 Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Thu, 23 Apr 2026 20:45:13 +0100 +Subject: [PATCH 1/1] disable werror + +Signed-off-by: Leah Rowe +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index fb4c43c..58e080e 100644 +--- a/Makefile ++++ b/Makefile +@@ -45,7 +45,7 @@ GNATBIND = $(CROSS_COMPILE)gnatbind + + GCC_MAJOR = $(shell echo __GNUC__ | $(CC) -E - 2>/dev/null | tail -1) + +-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