Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bazel/emscripten_toolchain/toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def _impl(ctx):
implies = ["profiling"],
),

# Turns on full debug info (-g4).
# Turns on full debug info (-g3).
feature(name = "full_debug_info"),

# Enables the use of "Emscripten" Pthread implementation.
Expand Down Expand Up @@ -667,7 +667,7 @@ def _impl(ctx):
actions = all_compile_actions +
all_link_actions,
flags = [
"-g4",
"-g3",
"-fsanitize=undefined",
"-O1",
"-DUNDEFINED_BEHAVIOR_SANITIZER=1",
Expand All @@ -692,7 +692,7 @@ def _impl(ctx):
flag_set(
actions = all_compile_actions +
all_link_actions,
flags = ["-g4"],
flags = ["-g3"],
features = ["full_debug_info"],
),
flag_set(
Expand Down