From 3976da4acb64315f7841998b3c338d895d24b036 Mon Sep 17 00:00:00 2001 From: Christian Storm Date: Tue, 29 Oct 2024 09:33:07 +0100 Subject: [PATCH] Stick to old ABI for gnu-efi > 3.0.18 gnu-efi introduced some ABI changes for the upcoming 4.0 release, see https://github.com/ncroxon/gnu-efi/blob/master/docs/README.ABI.md For now, stick to the old API/ABI so to support older gnu-efi versions without #ifdef'ing the codebase. Signed-off-by: Christian Storm Signed-off-by: Jan Kiszka --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index ab72c4e..21e2d0d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -221,6 +221,7 @@ efi_cflags = \ -fno-stack-protector \ -Wsign-compare \ -DGNU_EFI_USE_MS_ABI \ + -DGNU_EFI_3_0_COMPAT \ -Werror \ $(CFLAGS_MGENERAL_REGS_ONLY) \ $(CFLAGS)