aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nss/02-gen-debug-info-for-release.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/nss/02-gen-debug-info-for-release.patch')
-rw-r--r--vcpkg/ports/nss/02-gen-debug-info-for-release.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/nss/02-gen-debug-info-for-release.patch b/vcpkg/ports/nss/02-gen-debug-info-for-release.patch
new file mode 100644
index 0000000..435abea
--- /dev/null
+++ b/vcpkg/ports/nss/02-gen-debug-info-for-release.patch
@@ -0,0 +1,15 @@
+diff -ur
+--- a/nss/coreconf/config.gypi 2021-11-09 22:46:52.555246500 -0800
++++ b/nss/coreconf/config.gypi 2021-11-10 00:49:48.044560100 -0800
+@@ -638,9 +638,11 @@
+ 'VCCLCompilerTool': {
+ 'Optimization': '<(release_optimization_level)',
+ 'RuntimeLibrary': '2', # /MD
++ 'DebugInformationFormat': '3',
+ },
+ 'VCLinkerTool': {
+ 'LinkIncremental': '1',
++ 'GenerateDebugInformation' : 'true',
+ },
+ },
+ },