From d7138804eeaa03c2c18c2de07f5d5e0d66863697 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Mon, 11 Apr 2016 11:52:25 +0800 Subject: [PATCH] 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 --- .../QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2