Commit 5c1c6b17 authored by Peter Collingbourne's avatar Peter Collingbourne Committed by Commit Bot

Stop passing -gsplit-dwarf to NaCl compilers.

Should fix anything that explicitly passes use_debug_fission=true (or
use_lld=true, which can imply use_debug_fission=true).

Bug: 607968
Change-Id: I22cd532c12e1fa334c7273b09f566d5168f5b260
Reviewed-on: https://chromium-review.googlesource.com/703688Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506926}
parent db6a4901
......@@ -1852,7 +1852,7 @@ config("symbols") {
}
cflags += [ "-g2" ]
}
if (use_debug_fission) {
if (use_debug_fission && !is_nacl) {
cflags += [ "-gsplit-dwarf" ]
}
asmflags = cflags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment