Skip to content

Commit bbf90ec

Browse files
committed
Use multiple threads for LTS as per upstream PR riscv/sail-riscv#488 .
This removes a warning and improves compilation times on multicore machines.
1 parent 44af2f5 commit bbf90ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ ifneq (,$(COVERAGE))
213213
C_FLAGS += --coverage -O1
214214
SAIL_FLAGS += -Oconstant_fold
215215
else
216-
C_OPT_FLAGS ?= -O2 -flto
216+
C_OPT_FLAGS ?= -O2 -flto=auto
217217
C_FLAGS += $(C_OPT_FLAGS)
218218
endif
219219

0 commit comments

Comments
 (0)