Merge pull request #8096 from jepler/lto-parallel
Speed LTO builds by using multiple threads
This commit is contained in:
commit
4c55dc2445
@ -70,7 +70,7 @@ endif
|
||||
CIRCUITPY_LTO ?= 0
|
||||
CIRCUITPY_LTO_PARTITION ?= balanced
|
||||
ifeq ($(CIRCUITPY_LTO),1)
|
||||
CFLAGS += -flto -flto-partition=$(CIRCUITPY_LTO_PARTITION) -DCIRCUITPY_LTO=1
|
||||
CFLAGS += -flto=jobserver -flto-partition=$(CIRCUITPY_LTO_PARTITION) -DCIRCUITPY_LTO=1
|
||||
else
|
||||
CFLAGS += -DCIRCUITPY_LTO=0
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user