]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools/tools_def ARM: Make choice for soft float ABI explicit
authorArd Biesheuvel <ardb@kernel.org>
Thu, 5 Jan 2023 15:43:54 +0000 (16:43 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Jan 2023 14:06:43 +0000 (14:06 +0000)
commit021930d7c264da2c68b769a8dae4db06055047c2
tree7648ba80f5c17f3d23a0a76195a59ea2a8fc37eb
parente97406430366e63a4fea608c7af2e87bbae488ac
BaseTools/tools_def ARM: Make choice for soft float ABI explicit

Recent GCC for ARM will complain when selecting the hard float ABI
without specifying the FPU implementation, even when just running the
preprocessor.

This all happens under the hood, and we never bothered in the past,
given that we don't emit floating point code anyway. However, to placate
newer compilers, make it explicit that the floating point ABI is always the
softfloat one, by moving the -msoft-float compiler option to
PLATFORM_FLAGS.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
BaseTools/Conf/tools_def.template