summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-05 18:01:29 -0500
committerJan Setje-Eilers <73182357+jsetje@users.noreply.github.com>2021-03-09 13:52:53 -0800
commit4425a1bf8b60cc4a3a17f5ee98d0ee771447815d (patch)
treebcf72b9b0897b25d4442bbe80e841676d17624ad /Cryptlib/OpenSSL
parent7d5df1cebdbdc3ed11cde165a752cf358878aa8a (diff)
downloadefi-boot-shim-4425a1bf8b60cc4a3a17f5ee98d0ee771447815d.tar.gz
efi-boot-shim-4425a1bf8b60cc4a3a17f5ee98d0ee771447815d.zip
More minor makefile cleanups
This patch does some makefile cleanups, to fix the parts that are actually just bad that the previous patch left in for clarity: - removes -fno-builtin . This flag is implied by -ffreestanding , which we use everywhere. - gets rid of the two places where ARM has their own -O flags for no real reason. Note that this will make those use -Os instead of -O2. - export VERBOSE and DEBUG if they're set. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL')
-rw-r--r--Cryptlib/OpenSSL/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index 6ff58e47..5bd72481 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -38,11 +38,9 @@ FEATUREFLAGS += -m32 -mno-mmx -mno-sse -mno-red-zone -nostdinc $(CLANG_BUGS)
DEFINES += -DMDE_CPU_IA32
endif
ifeq ($(ARCH),aarch64)
-OPTIMIZATIONS += -O2
DEFINES += -DMDE_CPU_AARCH64
endif
ifeq ($(ARCH),arm)
-OPTIMIZATIONS += -O2
DEFINES += -DMDE_CPU_ARM
endif