summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-06-10 16:38:05 -0400
committerPeter Jones <pjones@redhat.com>2013-06-10 16:38:05 -0400
commitacf2e8ed1a3224017ab0987a7feccd25e098a4c2 (patch)
tree0218682a9682ddc1e5806d2a014184f4fd91bf40 /Cryptlib/Makefile
parent6cd79ef9502d7ecc9b936824fde7d1e3b80f800d (diff)
downloadefi-boot-shim-acf2e8ed1a3224017ab0987a7feccd25e098a4c2.tar.gz
efi-boot-shim-acf2e8ed1a3224017ab0987a7feccd25e098a4c2.zip
Make sure all the Makefiles use the same arguments for mmx/sse/ms_abi.
Signed-off-by: Peter Jones <pjones@redhat.com>
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