diff options
author | Chris Kay <chris.kay@arm.com> | 2018-10-01 14:05:01 +0100 |
---|---|---|
committer | ronald-cron-arm <39518861+ronald-cron-arm@users.noreply.github.com> | 2018-10-08 17:49:02 +0200 |
commit | 6b204d13b18beffa8ab1d62e6134af2184273ba9 (patch) | |
tree | 9c8b794fa834729e64f4e10b3fe393e0b3efc304 /tools/build_system | |
parent | 1dd35681512d3cdce7475529b61a0645dd1ed36a (diff) |
build: Prefer -O2 to -O3
This change is being made to claw back some of the bloat caused by
certain optimizations that are enabled by -O3.
Change-Id: Ide36c162104be784dabbfec16974090591293dde
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r-- | tools/build_system/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk index 2f3b1836..e7cf38b1 100644 --- a/tools/build_system/rules.mk +++ b/tools/build_system/rules.mk @@ -37,7 +37,7 @@ endif # GCC-specific optimization levels for debug and release modes # DEFAULT_OPT_GCC_DEBUG := g -DEFAULT_OPT_GCC_RELEASE := 3 +DEFAULT_OPT_GCC_RELEASE := 2 # # Compiler options used when building for the host |