mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 14:49:02 +08:00
14 lines
375 B
Diff
14 lines
375 B
Diff
diff --git a/cc/msvc.txt b/cc/msvc.txt
|
|
index ed32a3c..9e78fff 100644
|
|
--- a/cc/msvc.txt
|
|
+++ b/cc/msvc.txt
|
|
@@ -10,7 +10,7 @@ add_include_dir_option "/I"
|
|
add_lib_dir_option "/LIBPATH:"
|
|
add_lib_option ""
|
|
|
|
-compile_flags "/nologo /c"
|
|
+compile_flags "/nologo /c /D_ENABLE_EXTENDED_ALIGNED_STORAGE"
|
|
|
|
optimization_flags "/O2 /Oi"
|
|
size_optimization_flags "/O1 /Os"
|