summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-05-16 10:21:15 -0400
committerPeter Jones <pjones@redhat.com>2013-05-16 10:21:15 -0400
commitaa55fcf149d34eb500eb3529f4cf7905bdba0e96 (patch)
tree01ad3808bc593f4c2d92d4538b63fbc771f3d9dc
parent5bb3e64ed8584947d6d92371f261c12c2421c263 (diff)
downloadefi-boot-shim-aa55fcf149d34eb500eb3529f4cf7905bdba0e96.tar.gz
efi-boot-shim-aa55fcf149d34eb500eb3529f4cf7905bdba0e96.zip
Use MS ABI instead of terrible wrappers.
This means that we now require gnu-efi 3.0s Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ba62f510..a634e306 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wcha
-Wall -mno-red-zone \
$(EFI_INCLUDES)
ifeq ($(ARCH),x86_64)
- CFLAGS += -DEFI_FUNCTION_WRAPPER
+ CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
endif
ifneq ($(origin VENDOR_CERT_FILE), undefined)
CFLAGS += -DVENDOR_CERT_FILE=\"$(VENDOR_CERT_FILE)\"