From 5b5ca4bc582a4eb23277afd4667c7e3e3af34451 Mon Sep 17 00:00:00 2001 From: Jens Wiklander <jens.wiklander@linaro.org> Date: Mon, 9 Oct 2017 09:56:52 +0200 Subject: [PATCH] rpi3: drop -O0 flag for ARM-TF Drops the -O0 flag passed in CFLAGS when compiling ARM-TF. This is needed to ensure that the binaries doesn't overflow their assigned memory. Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> --- rpi3.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/rpi3.mk b/rpi3.mk index 9453fcd..ab0a85c 100644 --- a/rpi3.mk +++ b/rpi3.mk @@ -56,7 +56,6 @@ clean: arm-tf-clean busybox-clean u-boot-clean u-boot-rpi-bin-clean \ # ARM Trusted Firmware ################################################################################ ARM_TF_EXPORTS ?= \ - CFLAGS="-O0 -gdwarf-2" \ CROSS_COMPILE="$(CCACHE)$(AARCH64_CROSS_COMPILE)" ARM_TF_FLAGS ?= \ -- GitLab