Skip to content

Commit

Permalink
Generate debug info for non CI builds or qa, gold builds (#1433)
Browse files Browse the repository at this point in the history
b/290953361

Fixes large archives generated for devel, debug builds on CI.

Address issues for building pdb's locally:
#1249 (comment)

(cherry picked from commit e1744df)
  • Loading branch information
niranjanyardi authored and anonymous1-me committed Aug 29, 2023
1 parent 6426d87 commit 54535f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starboard/xb1/platform_configuration/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ config("target") {
]
}

ldflags += [ "/DEBUG:FASTLINK" ]
if (is_qa || is_gold || !cobalt_fastbuild) {
ldflags += [ "/DEBUG:FASTLINK" ]
}

ldflags += [ "/NODEFAULTLIB" ]
arflags += [ "/NODEFAULTLIB" ]
Expand Down

0 comments on commit 54535f3

Please sign in to comment.