]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools GCC/ARM: add -fno-builtin to CC flags
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 4 Aug 2016 14:39:59 +0000 (16:39 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 5 Aug 2016 14:32:36 +0000 (16:32 +0200)
commit0667e985270b5c2cc5d89e66bcff7e5804eee21f
tree82cdd0355aa6bb25a8519fe1bec9defb303a5efe
parentf8c51389c6dbc8e99715489f70fb4ad47d49be1f
BaseTools GCC/ARM: add -fno-builtin to CC flags

Avoid build errors when including OpensslLib, which may throw
undefined reference errors for builtin functions if -fno-builtin
is not specified (and it is already set for IA32, X64 and AARCH64)
So set it for ARM as well.

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