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 --- .../fam15h/vboot/patches/0001-disable-werror.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config/submodule/coreboot/fam15h/vboot/patches/0001-disable-werror.patch (limited to 'config/submodule/coreboot/fam15h') diff --git a/config/submodule/coreboot/fam15h/vboot/patches/0001-disable-werror.patch b/config/submodule/coreboot/fam15h/vboot/patches/0001-disable-werror.patch new file mode 100644 index 00000000..8eeffe20 --- /dev/null +++ b/config/submodule/coreboot/fam15h/vboot/patches/0001-disable-werror.patch @@ -0,0 +1,26 @@ +From deefd0af4b4d5a84e048ac57be2a9a8cffe16192 Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Thu, 23 Apr 2026 21:30:49 +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 0539e8d7..ea5e9c68 100644 +--- a/Makefile ++++ b/Makefile +@@ -136,7 +136,7 @@ endif + # + # Flag ordering: arch, then -f, then -m, then -W + DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-g -Os) +-WERROR := -Werror ++WERROR := + FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector + COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \ + -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \ +-- +2.47.3 + -- cgit v1.2.1