Skip to content

Commit dcbfdc0

Browse files
authored
Merge pull request #71292 from compnerd/debug-info
utils: fix debug info generation for the standard library
2 parents db424e2 + 37c593b commit dcbfdc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ function Build-CMakeProject {
578578

579579
$CFlags = @("/GS-", "/Gw", "/Gy", "/Oi", "/Oy", "/Zc:inline")
580580
if ($UseMSVCCompilers.Contains("C") -Or $UseMSVCCompilers.Contains("CXX") -Or
581+
$UseBuiltCompilers.Contains("C") -Or $UseBuiltCompilers.Contains("CXX") -Or
581582
$UsePinnedCompilers.Contains("C") -Or $UsePinnedCompilers.Contains("CXX")) {
582583
if ($DebugInfo) {
583584
$CFlags += if ($EnableCaching) { "/Z7" } else { "/Zi" }

0 commit comments

Comments
 (0)