summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index f1add83d..08908389 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -10,9 +10,9 @@ LIB_GCC = $(shell $(CC) -print-libgcc-file-name)
EFI_LIBS = -lefi -lgnuefi $(LIB_GCC)
CFLAGS = -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
- -Wall $(EFI_INCLUDES) -mno-red-zone -mno-sse -mno-mmx
+ -Wall $(EFI_INCLUDES) -mno-red-zone -maccumulate-outgoing-args -mno-sse -mno-mmx
ifeq ($(ARCH),x86_64)
- CFLAGS += -DEFI_FUNCTION_WRAPPER
+ CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI
endif
LDFLAGS = -nostdlib -znocombreloc