Skip to content

Commit

Permalink
Merge pull request #8096 from jepler/lto-parallel
Browse files Browse the repository at this point in the history
Speed LTO builds by using multiple threads
  • Loading branch information
dhalbert authored Jun 20, 2023
2 parents b0e6a98 + cae02f1 commit 4c55dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/circuitpy_defns.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c55dc2

Please sign in to comment.