SERVER-126322 Remove fextend-lifetimes from protobuf (#53554)
GitOrigin-RevId: 862af33bd3ab9b5b46117c2e77f22b5f00828f88
This commit is contained in:
parent
7f59a42e61
commit
a25a070edb
@ -23,6 +23,11 @@ create_compiler_config_setting(
|
||||
value = "clang-cl",
|
||||
)
|
||||
|
||||
create_compiler_config_setting(
|
||||
name = "config_clang",
|
||||
value = "clang",
|
||||
)
|
||||
|
||||
platform(
|
||||
name = "x64_windows-clang-cl",
|
||||
constraint_values = [
|
||||
|
||||
@ -16,6 +16,12 @@ COPTS = select({
|
||||
"/wd4800", # 'type' : forcing value to bool 'true' or 'false' (performance warning)
|
||||
"/wd4996", # The compiler encountered a deprecated declaration.
|
||||
],
|
||||
"//build_defs:config_clang": [
|
||||
"-Wno-sign-compare",
|
||||
# (spencer) `a9dff35ad251` | [Clang] Enable -fextend-lifetimes at -Og (#118026)
|
||||
# prevents clang from correctly interacting with LimitToken's poisoned stack memory.
|
||||
"-fextend-variable-liveness=none",
|
||||
],
|
||||
"//conditions:default": [
|
||||
"-Wno-sign-compare",
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user