Revert "BACKPORT: FROMGIT: kbuild: Remove support for Clang's ThinLTO caching"
This reverts commit f268fdb66d
.
This commit is contained in:
parent
48c33cf21c
commit
afd9b3fd16
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -982,6 +982,7 @@ endif
|
|||
ifdef CONFIG_LTO_CLANG
|
||||
ifdef CONFIG_LTO_CLANG_THIN
|
||||
CC_FLAGS_LTO := -flto=thin -fsplit-lto-unit
|
||||
KBUILD_LDFLAGS += --thinlto-cache-dir=$(extmod-prefix).thinlto-cache
|
||||
else
|
||||
CC_FLAGS_LTO := -flto
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue