[PATCH 2/2] Fail build on warnings in efi sources

3 views
Skip to first unread message

Jan Kiszka

unread,
Aug 10, 2023, 4:01:19 AM8/10/23
to efibootguard-dev
From: Jan Kiszka <jan.k...@siemens.com>

We already have -Werror for userland. Expand it to the bootloader and
the kernel-stub so that we do not miss any warnings in the future.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index ef18ffd..59af226 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -214,6 +214,7 @@ efi_cflags = \
-fno-stack-protector \
-Wsign-compare \
-DGNU_EFI_USE_MS_ABI \
+ -Werror \
$(CFLAGS)

if ARCH_X86_64
--
2.35.3
Reply all
Reply to author
Forward
0 new messages