Skip to content

Commit

Permalink
Use multiple threads for LTS as per upstream PR riscv/sail-riscv#488 .
Browse files Browse the repository at this point in the history
This removes a warning and improves compilation times on multicore machines.
  • Loading branch information
ronorton committed Jun 14, 2024
1 parent 44af2f5 commit bbf90ec
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 @@ -213,7 +213,7 @@ ifneq (,$(COVERAGE))
C_FLAGS += --coverage -O1
SAIL_FLAGS += -Oconstant_fold
else
C_OPT_FLAGS ?= -O2 -flto
C_OPT_FLAGS ?= -O2 -flto=auto
C_FLAGS += $(C_OPT_FLAGS)
endif

Expand Down

0 comments on commit bbf90ec

Please sign in to comment.