mirror of https://github.com/bazelbuild/rules_cc
Add -g in `per_object_debug_info` for Clang 12 and GCC 11
This commit is contained in:
parent
dd2758b96d
commit
4b46a7a447
|
@ -313,7 +313,7 @@ def _impl(ctx):
|
||||||
],
|
],
|
||||||
flag_groups = [
|
flag_groups = [
|
||||||
flag_group(
|
flag_group(
|
||||||
flags = ["-gsplit-dwarf"],
|
flags = ["-gsplit-dwarf", "-g"],
|
||||||
expand_if_available = "per_object_debug_info_file",
|
expand_if_available = "per_object_debug_info_file",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue