uncomment -mno-red-zone
authorKay Sievers <kay@vrfy.org>
Fri, 27 Jul 2012 08:01:01 +0000 (10:01 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 27 Jul 2012 08:01:01 +0000 (10:01 +0200)
Makefile

index 7e2fdeb..7efa653 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,11 +18,11 @@ CFLAGS = \
        -nostdinc \
        -ffreestanding \
        -fno-stack-protector
-# -mno-red-zone
 
 ifeq ($(ARCH),x86_64)
 CFLAGS += \
-       -DEFI_FUNCTION_WRAPPER
+       -DEFI_FUNCTION_WRAPPER \
+       -mno-red-zone
 endif
 
 LDFLAGS = -T $(LIBEFIDIR)/elf_$(ARCH)_efi.lds \