shim/0006-Use-correct-ReallocatePool-ABI.patch

26 lines
729 B
Diff
Raw Normal View History

From c6855aea382efd71161815d51d5f14200afd2fbb Mon Sep 17 00:00:00 2001
From: Jason Montleon <jason@montleon.com>
Date: Tue, 25 Jun 2024 23:38:40 -0400
Subject: [PATCH 6/7] Use correct ReallocatePool ABI
Signed-off-by: Jason Montleon <jason@montleon.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 1698186..7869b4d 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ include $(TOPDIR)/include/coverity.mk
include $(TOPDIR)/include/scan-build.mk
include $(TOPDIR)/include/fanalyzer.mk
+CFLAGS += -DGNU_EFI_USE_REALLOCATEPOOL_ABI=0
TARGETS = $(SHIMNAME)
TARGETS += $(SHIMNAME).debug $(MMNAME).debug $(FBNAME).debug
ifneq ($(origin ENABLE_SHIM_HASH),undefined)
--
2.44.0