summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg
diff options
context:
space:
mode:
authorXiaoyu Lu <xiaoyux.lu@intel.com>2019-06-05 13:24:55 +0800
committerLiming Gao <liming.gao@intel.com>2019-06-06 11:01:50 +0800
commit98d8f194e5a646b25b3390825c92949a76689d75 (patch)
treed2d0ec51b2bdf93744ab62f0cf8e112f9bc3f328 /UefiPayloadPkg
parentb8993a34ae0069080138536249dc6a72bbd7b696 (diff)
downloadedk2-98d8f194e5a646b25b3390825c92949a76689d75.tar.gz
edk2-98d8f194e5a646b25b3390825c92949a76689d75.tar.bz2
edk2-98d8f194e5a646b25b3390825c92949a76689d75.zip
CryptoPkg/IntrinsicLib: Fix CLANG38 IA32 build problem
When use clang-3.8 to build the NetworkPkg, compiler optimization may use memcpy for memory copy. For example: CryptoPkg/Library/OpensslLib/openssl/ssl/ssl_rsa.c:918: undefined reference to `memcpy'` Compiler optimization is sophisticated, but we can work around it use __attribute__((__used__)) to informs the compiler that symbol should be retained in the object file, even if it may be unreferenced. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Xiaoyu Lu <xiaoyux.lu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
0 files changed, 0 insertions, 0 deletions