aboutsummaryrefslogtreecommitdiff
path: root/tools/build_system
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2020-03-13 15:09:23 +0000
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-03-16 14:49:07 +0000
commit8163e0a158d2fdb42f1e78e4220b63ac12636380 (patch)
treeeda009eadf2066a565f29d943a2e5a6d84424989 /tools/build_system
parent74d57f74fa50e73c4f38f0d69458215e4180761a (diff)
juno: Remove -Os/-flto for debug mode
New adjustments to the maximum size of the SCP_BL2 image in Trusted Firmware-A means we now have far greater room for expansion. Change-Id: I9bc4791e5a2347f2d30bdcb3a482b5a3e6801e0a Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r--tools/build_system/rules.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk
index c7d78249..79a8e90a 100644
--- a/tools/build_system/rules.mk
+++ b/tools/build_system/rules.mk
@@ -44,16 +44,7 @@ endif
# GCC-specific optimization levels for debug and release modes
#
-ifeq ($(PRODUCT)-$(FIRMWARE),juno-scp_ramfw)
- # Enable link-time optimization
- CFLAGS_GCC += -flto
- LDFLAGS_GCC += -Wl,-flto
-
- DEFAULT_OPT_GCC_DEBUG := s
-else
- DEFAULT_OPT_GCC_DEBUG := g
-endif
-
+DEFAULT_OPT_GCC_DEBUG := g
DEFAULT_OPT_GCC_RELEASE := 2
#