summaryrefslogtreecommitdiff
path: root/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 /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 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c8f6ec82..0c2b90b8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ SUBDIRS = Cryptlib
LIB_PATH = /usr/lib64
EFI_INCLUDE = /usr/include/efi
-EFI_INCLUDES = -nostdinc -ICryptlib -ICryptlib/Include -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
+EFI_INCLUDES = -nostdinc -ICryptlib -ICryptlib/Include -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
EFI_PATH = /usr/lib64/gnuefi
LIB_GCC = $(shell $(CC) -print-libgcc-file-name)
@@ -15,7 +15,8 @@ EFI_CRT_OBJS = $(EFI_PATH)/crt0-efi-$(ARCH).o
EFI_LDS = $(EFI_PATH)/elf_$(ARCH)_efi.lds
CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \
- -fshort-wchar -Wall -mno-red-zone -mno-mmx -mno-sse \
+ -fshort-wchar -Wall -mno-red-zone -maccumulate-outgoing-args \
+ -mno-mmx -mno-sse \
$(EFI_INCLUDES)
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI