summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL
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/OpenSSL
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/OpenSSL')
-rw-r--r--Cryptlib/OpenSSL/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index 294e889a..1b8ca318 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -36,8 +36,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 \
- -UNO_BUILTIN_VA_FUNCS -DMDE_CPU_X64
+DEFINES += -DMDE_CPU_X64
endif
ifeq ($(ARCH),ia32)
FEATUREFLAGS += -m32 -mno-mmx -mno-sse -mno-red-zone -nostdinc $(CLANG_BUGS)