Skip to content

Commit

Permalink
Use multiple threads for LTO
Browse files Browse the repository at this point in the history
This uses the Make job server so that multiple threads can be used for LTO, which speeds up the build.
  • Loading branch information
Mudassir10X authored Jun 3, 2024
1 parent 8ecd4c9 commit e1663e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ifneq (,$(COVERAGE))
C_FLAGS += --coverage -O1
SAIL_FLAGS += -Oconstant_fold
else
C_FLAGS += -O3 -flto
C_FLAGS += -O3 -flto=auto
endif

ifneq (,$(SAILCOV))
Expand Down

0 comments on commit e1663e9

Please sign in to comment.