Skip to content

Commit

Permalink
disable optimization on release builds (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgauth authored Dec 11, 2023
1 parent b7f8691 commit 20ce7b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/zlib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<AdditionalOptions>/Zi /Gy %(AdditionalOptions)</AdditionalOptions>
<ProgramDataBaseFileName>$(OutDir)</ProgramDataBaseFileName>
<WholeProgramOptimization>false</WholeProgramOptimization>
</ClCompile>
<Lib>
<SubSystem>Console</SubSystem>
Expand All @@ -278,6 +279,7 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<AdditionalOptions>/Zi /Gy %(AdditionalOptions)</AdditionalOptions>
<ProgramDataBaseFileName>$(OutDir)</ProgramDataBaseFileName>
<WholeProgramOptimization>false</WholeProgramOptimization>
</ClCompile>
<Lib>
<SubSystem>Console</SubSystem>
Expand All @@ -298,6 +300,7 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<AdditionalOptions>/Zi /Gy %(AdditionalOptions)</AdditionalOptions>
<ProgramDataBaseFileName>$(OutDir)</ProgramDataBaseFileName>
<WholeProgramOptimization>false</WholeProgramOptimization>
</ClCompile>
<Lib>
<SubSystem>Console</SubSystem>
Expand All @@ -318,6 +321,7 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<AdditionalOptions>/Zi /Gy %(AdditionalOptions)</AdditionalOptions>
<ProgramDataBaseFileName>$(OutDir)</ProgramDataBaseFileName>
<WholeProgramOptimization>false</WholeProgramOptimization>
</ClCompile>
<Lib>
<SubSystem>Console</SubSystem>
Expand Down

0 comments on commit 20ce7b0

Please sign in to comment.