Skip to content

Commit

Permalink
Fail build on warnings in efi sources
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jan-kiszka committed Aug 10, 2023
1 parent be4d826 commit 16f8ec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ efi_cflags = \
-fno-stack-protector \
-Wsign-compare \
-DGNU_EFI_USE_MS_ABI \
-Werror \
$(CFLAGS)

if ARCH_X86_64
Expand Down

0 comments on commit 16f8ec2

Please sign in to comment.