diff options
author | Liming Gao <liming.gao@intel.com> | 2016-04-11 11:52:25 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-04-13 09:28:25 +0800 |
commit | d7138804eeaa03c2c18c2de07f5d5e0d66863697 (patch) | |
tree | 8851f0ac98af2f1badd03d80887c7ed44122dcd3 /QuarkSocPkg/QuarkNorthCluster | |
parent | b15b8b921ace1e55ae94fd80172b1f4892b8c41d (diff) | |
download | edk2-platforms-d7138804eeaa03c2c18c2de07f5d5e0d66863697.tar.xz |
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 <liming.gao@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'QuarkSocPkg/QuarkNorthCluster')
-rw-r--r-- | QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf | 4 |
1 files changed, 4 insertions, 0 deletions
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
|