From: Liming Gao Date: Mon, 11 Apr 2016 03:52:25 +0000 (+0800) Subject: QuarkSocPkg: Add /Oi option to let MemoryInit pass build. X-Git-Tag: edk2-stable201903~7338 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d7138804eeaa03c2c18c2de07f5d5e0d66863697 QuarkSocPkg: Add /Oi option to let MemoryInit pass build. MemoryInit uses the intrinsic memset function. To keep it pass build in VS tool chain without source code change, /Oi option will be added. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Michael Kinney --- diff --git a/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf index e32768446e..78821f59a3 100644 --- a/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf +++ b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf @@ -74,3 +74,7 @@ [Depex] TRUE + +[BuildOptions] + # /Oi option to use the intrinsic memset function in source code. + MSFT:*_*_*_CC_FLAGS = /Oi