vcpkg/ports/botan/embed-debug-info.patch
2024-11-14 02:10:13 -08:00

18 lines
516 B
Diff

diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 64b6eae..66258ca 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -20,10 +20,10 @@ optimization_flags "/O2 /Oi /Zc:throwingNew"
size_optimization_flags "/O1 /Os"
# for debug info in the object file (required if using sccache):
-#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 /Zc:preprocessor"