Skip to content

Commit

Permalink
Add LTO feature
Browse files Browse the repository at this point in the history
Signed-off-by: Luís Marques <[email protected]>
  • Loading branch information
luismarques committed Mar 14, 2024
1 parent 8264b62 commit f0b20b4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions features/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,21 @@ feature(
],
)

feature(
name = "lto",
enabled = False,
flag_sets = [
flag_set(
actions = C_ALL_COMPILE_ACTIONS + CPP_ALL_COMPILE_ACTIONS + LD_ALL_ACTIONS,
flag_groups = [
flag_group(
flags = ["-flto"],
),
],
),
],
)

feature(
name = "symbol_garbage_collection",
enabled = True,
Expand Down

0 comments on commit f0b20b4

Please sign in to comment.