summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-09 14:40:03 -0500
committerPeter Jones <pjones@redhat.com>2021-03-10 15:54:20 -0500
commit9beca885c29c77bb901547321a5ce6fd3c9c8ee3 (patch)
treeb61a67de468dfdff2225d52b03f280b807714215 /Cryptlib/Makefile
parent766aac4d5cfbe76026be5ce718b0883ee211f323 (diff)
downloadefi-boot-shim-9beca885c29c77bb901547321a5ce6fd3c9c8ee3.tar.gz
efi-boot-shim-9beca885c29c77bb901547321a5ce6fd3c9c8ee3.zip
Fix stdarg to work the same everywhere.
This gets us the same working definition for VA_* va_* etc everywhere, and it's the same definition edk2 is using. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index 27614618..547fd106 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -22,8 +22,7 @@ CLANG_BUGS = $(if $(findstring gcc,$(CC)),-maccumulate-outgoing-args,)
ifeq ($(ARCH),x86_64)
FEATUREFLAGS += -m64 -mno-mmx -mno-sse -mno-red-zone $(CLANG_BUGS)
-DEFINES += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI \
- -DNO_BUILTIN_VA_FUNCS -DMDE_CPU_X64
+DEFINES += -DMDE_CPU_X64
endif
ifeq ($(ARCH),ia32)
FEATUREFLAGS += -m32 -mno-mmx -mno-sse -mno-red-zone $(CLANG_BUGS)