MdeModulePkg: Fix undefined reference to memcpy with XCODE5
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3098 XCODE5 toolchain in NOOPT mode generates memcpy when trying to copy PEI_CORE_FV_HANDLE structure. This breaks OVMF compilation with XCODE5. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Vitaly Cheptsov <cheptsov@ispras.ru> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
6af76adbbf
commit
31e8a47b62
@@ -542,7 +542,7 @@ ConvertPpiPointersFv (
|
||||
VOID
|
||||
ConvertPeiCorePpiPointers (
|
||||
IN PEI_CORE_INSTANCE *PrivateData,
|
||||
PEI_CORE_FV_HANDLE CoreFvHandle
|
||||
IN PEI_CORE_FV_HANDLE *CoreFvHandle
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user