summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-07-27 10:01:01 +0200
committerKay Sievers <kay@vrfy.org>2012-07-27 10:01:01 +0200
commit11a12f8a0c5046eca4bd3287347c66f2574164ff (patch)
tree5128da26303cafe0f04655f1470dd6325a55a9e0
parent0ad101fa0ea1604111de518a109dcf877413e270 (diff)
uncomment -mno-red-zone
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7e2fdeb..7efa653 100644
--- 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 \