Skip to content

Commit 4c55dc2

Browse files
authored
Merge pull request #8096 from jepler/lto-parallel
Speed LTO builds by using multiple threads
2 parents b0e6a98 + cae02f1 commit 4c55dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/circuitpy_defns.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ endif
7070
CIRCUITPY_LTO ?= 0
7171
CIRCUITPY_LTO_PARTITION ?= balanced
7272
ifeq ($(CIRCUITPY_LTO),1)
73-
CFLAGS += -flto -flto-partition=$(CIRCUITPY_LTO_PARTITION) -DCIRCUITPY_LTO=1
73+
CFLAGS += -flto=jobserver -flto-partition=$(CIRCUITPY_LTO_PARTITION) -DCIRCUITPY_LTO=1
7474
else
7575
CFLAGS += -DCIRCUITPY_LTO=0
7676
endif

0 commit comments

Comments
 (0)