BaseTools/tools_def GCC5: disable LTO for ASLC invocations
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 14 Jan 2019 14:04:49 +0000 (15:04 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 14 Jan 2019 17:07:10 +0000 (18:07 +0100)
commite695e44545b41dc6321af73277a9056f5f4808d7
tree4700447e21019a4f88afce6a2e7d63f9ffb73b9f
parent17f5fd9291e036516ead76b516176b8f3dacba48
BaseTools/tools_def GCC5: disable LTO for ASLC invocations

GCC for 32-bit ARM chokes on .aslc files when running with LTO
enabled. Since LTO has no benefit whatsoever here, just disable
it globally for GCC5 and up when building .aslc files.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template