mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 18:59:05 +08:00
e407f1b99e
* [botan] Fix debug info - Embed debug info into object files. - Enable debug info for release builds. - Pass-through C++ build flags. Fixes #12088 * Fix version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
18 lines
459 B
Diff
18 lines
459 B
Diff
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
|
|
index 2306a4485..977e2e958 100644
|
|
--- a/src/build-data/cc/msvc.txt
|
|
+++ b/src/build-data/cc/msvc.txt
|
|
@@ -17,10 +17,10 @@ optimization_flags "/O2 /Oi"
|
|
size_optimization_flags "/O1 /Os"
|
|
|
|
# for debug info in the object file:
|
|
-#debug_info_flags "/Z7"
|
|
+debug_info_flags "/Z7"
|
|
|
|
# for using a PDB file:
|
|
-debug_info_flags "/Zi /FS"
|
|
+#debug_info_flags "/Zi /FS"
|
|
|
|
preproc_flags "/nologo /EP"
|
|
|