summaryrefslogtreecommitdiff
path: root/Cryptlib/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2019-11-22 16:14:23 -0500
committerJavier Martinez Canillas <javier@dowhile0.org>2021-02-16 09:12:48 +0100
commit4edb31fcfc12dc0627edf8018f3a179dffe634a1 (patch)
treeb888e28f34708fe543be624aa3f81a41bd3bfde1 /Cryptlib/Makefile
parent25c83246373b95dffdd152c784934e47b8323edd (diff)
downloadefi-boot-shim-4edb31fcfc12dc0627edf8018f3a179dffe634a1.tar.gz
efi-boot-shim-4edb31fcfc12dc0627edf8018f3a179dffe634a1.zip
Use gcc -Os instead of -O0.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/Makefile')
-rw-r--r--Cryptlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index 5c098f34..18a33b19 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -1,7 +1,7 @@
EFI_INCLUDES = -I$(TOPDIR)/Include -I$(EFI_INCLUDE) -I$(EFI_INCLUDE)/$(ARCH) -I$(EFI_INCLUDE)/protocol
-CFLAGS = -ggdb -O0 -I$(TOPDIR) -iquote $(TOPDIR) -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
+CFLAGS = -ggdb $(OPTIMIZATIONS) -I$(TOPDIR) -iquote $(TOPDIR) -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar \
-Wall $(EFI_INCLUDES) -std=gnu89 \
-ffreestanding -I$(shell $(CC) -print-file-name=include)