]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTool/tools_def GCC5: enable optimization for ARM/AARCH64 DEBUG builds
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 7 Dec 2017 08:53:03 +0000 (08:53 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 Dec 2017 15:04:42 +0000 (15:04 +0000)
commit06c8a34cc4bcad7b1dadad365defa6af859d9a1a
tree286fb804faaaead7f7eb96e05b4fa4a6c9e33cf7
parent1a21d339cdd9d1b86a172f312544fa93ca64db48
BaseTool/tools_def GCC5: enable optimization for ARM/AARCH64 DEBUG builds

Enable optimization for DEBUG builds, to make it more usable in terms of
performance, and to give more coverage to the LTO builds. Also, some
diagnostics are only enabled when optimization is enabled.
NOOPT builds can now also be created, which will retain the behavior DEBUG
builds had previously.

Note that this aligns ARM and AARCH64 with the x86 architectures, which
already use optimization for DEBUG builds.

In order to preserve existing behavior for users of older toolchains,
keep GCC49 and older as-is.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template