kernel: Override LD_LIBRARY_PATH only on <5.10
5.10 doesn't need LD_LIBRARY_PATH set Change-Id: I5f6e732610f947d50b47e238d6a42365396b18ad
This commit is contained in:
parent
69e7a49d95
commit
19c16dff32
1 changed files with 2 additions and 1 deletions
|
@ -235,8 +235,9 @@ ifneq ($(TARGET_KERNEL_CLANG_COMPILE),false)
|
|||
else ifeq ($(KERNEL_ARCH),x86)
|
||||
KERNEL_CLANG_TRIPLE ?= CLANG_TRIPLE=x86_64-linux-gnu-
|
||||
endif
|
||||
PATH_OVERRIDE += LD_LIBRARY_PATH=$(TARGET_KERNEL_CLANG_PATH)/lib64:$$LD_LIBRARY_PATH
|
||||
endif
|
||||
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH LD_LIBRARY_PATH=$(TARGET_KERNEL_CLANG_PATH)/lib64:$$LD_LIBRARY_PATH
|
||||
PATH_OVERRIDE += PATH=$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
||||
ifeq ($(KERNEL_CC),)
|
||||
KERNEL_CC := CC="$(CCACHE_BIN) clang"
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue