diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/botan/embed-debug-info.patch | |
Diffstat (limited to 'vcpkg/ports/botan/embed-debug-info.patch')
| -rw-r--r-- | vcpkg/ports/botan/embed-debug-info.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/botan/embed-debug-info.patch b/vcpkg/ports/botan/embed-debug-info.patch new file mode 100644 index 0000000..14d2a5c --- /dev/null +++ b/vcpkg/ports/botan/embed-debug-info.patch @@ -0,0 +1,17 @@ +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" + |