summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-07-02 12:29:03 -0400
committerMatthew Garrett <mjg@redhat.com>2012-07-02 12:29:03 -0400
commit20094cb55d476c5d053cc73cec6e0d3f2a1c8d9a (patch)
treeb6f3cbbffaec0324107befbb10c46c07d7a513ac /Cryptlib/Makefile
parent6d3e62ef2f8b0936e64364b258f395de8921137c (diff)
downloadefi-boot-shim-20094cb55d476c5d053cc73cec6e0d3f2a1c8d9a.tar.gz
efi-boot-shim-20094cb55d476c5d053cc73cec6e0d3f2a1c8d9a.zip
Build a debug image
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 d8f999b3..925db8db 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -9,8 +9,8 @@ EFI_PATH = /usr/lib64/gnuefi
LIB_GCC = $(shell $(CC) -print-libgcc-file-name)
EFI_LIBS = -lefi -lgnuefi $(LIB_GCC)
-CFLAGS = -ggdb -O2 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
- -Wall $(EFI_INCLUDES)
+CFLAGS = -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
+ -Wall $(EFI_INCLUDES) -mno-red-zone
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER
endif