Fix a typo in the spelling of the libc++ debug macro. (#868)

This should get us actual debugging capabilities.

Also, adopt the better bazel formulation that I forgot to add from
geoffromer's original change.
This commit is contained in:
Chandler Carruth
2021-10-01 20:07:23 -07:00
committed by GitHub
parent 52b09f099b
commit a5cee52239
@@ -528,11 +528,10 @@ def _impl(ctx):
actions = all_compile_actions,
flag_groups = [flag_group(flags = [
# Enable libc++'s debug features.
"-D_LIBCXX_DEBUG=1",
"-D_LIBCPP_DEBUG=1",
])],
with_features = [
with_feature_set(features = ["dbg"]),
with_feature_set(features = ["fastbuild"]),
with_feature_set(not_features = ["opt"]),
],
),
],