]> git.proxmox.com Git - mirror_edk2.git/commitdiff
QuarkSocPkg: Add /Oi option to let MemoryInit pass build.
authorLiming Gao <liming.gao@intel.com>
Mon, 11 Apr 2016 03:52:25 +0000 (11:52 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 13 Apr 2016 01:28:25 +0000 (09:28 +0800)
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 <liming.gao@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf

index e32768446ebb8e43a5be063da90dc694fc2715ac..78821f59a3e15a7856ea581bf1e270946e4caf19 100644 (file)
@@ -74,3 +74,7 @@
 \r
 [Depex]\r
   TRUE\r
+\r
+[BuildOptions]\r
+  # /Oi option to use the intrinsic memset function in source code.\r
+  MSFT:*_*_*_CC_FLAGS = /Oi\r