Skip to content

Commit

Permalink
Fix CFI build
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 619194987
Change-Id: I6d8d638cc93858f1d21136fe087f7e4fb5bb560f
  • Loading branch information
TCMalloc Team authored and copybara-github committed Mar 26, 2024
1 parent 60e7343 commit 18777b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tcmalloc/selsan/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ cc_library(
features = [
"-use_header_modules", # to avoid flags mismatch errors (b/327555681)
"-thin_lto", # workaround thin lto crash (b/330654590)
"-cfi", # Requires thin_lto
"-cfi_diag", # Requires thin_lto
"-cfi_dbg", # Requires thin_lto
],
linkstatic = 1,
visibility = ["//tcmalloc:__subpackages__"],
Expand Down

0 comments on commit 18777b1

Please sign in to comment.