From: Leif Lindholm Date: Fri, 18 Oct 2019 09:36:01 +0000 (+0100) Subject: SignedCapsulePkg: fix AARCH64 build X-Git-Tag: edk2-stable201911~145 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0f28c513d392a807f7b4225964eba6e2b1c453a2 SignedCapsulePkg: fix AARCH64 build BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2252 Add NULL library resolution of CompilerIntrinsicsLib and BaseStackCheckLib for AARCH64 as well as ARM in order to fix "undefined reference to `memcpy'" build errors. Cc: Jiewen Yao Cc: Chao Zhang Cc: Laszlo Ersek Signed-off-by: Leif Lindholm Reviewed-by: Jiewen Yao --- diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/SignedCapsulePkg.dsc index 4d4232d6e0..03f714f9a7 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dsc +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc @@ -97,6 +97,7 @@ [LibraryClasses.ARM] ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf +[LibraryClasses.AARCH64, LibraryClasses.ARM] # # It is not possible to prevent the ARM compiler for generic intrinsic functions. # This library provides the instrinsic functions generate by a given compiler.