kernel: Drop -fuse-ld=lld from CFLAGS
clang-14: error: argument unused during compilation: '-fuse-ld=lld' [-Werror,-Wunused-command-line-argument] Change-Id: Ic863e8707e4c57c7d03183b6cb6d3cd38e919bcb
This commit is contained in:
parent
18dd1748df
commit
9ec1fed30b
1 changed files with 2 additions and 2 deletions
|
@ -135,9 +135,9 @@ ifeq ($(TARGET_KERNEL_CLANG_COMPILE),false)
|
|||
endif
|
||||
|
||||
ifeq ($(HOST_OS),darwin)
|
||||
KERNEL_MAKE_FLAGS += HOSTCFLAGS="-I$(BUILD_TOP)/external/elfutils/libelf -I/usr/local/opt/openssl/include -fuse-ld=lld" HOSTLDFLAGS="-L/usr/local/opt/openssl/lib -fuse-ld=lld"
|
||||
KERNEL_MAKE_FLAGS += HOSTCFLAGS="-I$(BUILD_TOP)/external/elfutils/libelf -I/usr/local/opt/openssl/include" HOSTLDFLAGS="-L/usr/local/opt/openssl/lib -fuse-ld=lld"
|
||||
else
|
||||
KERNEL_MAKE_FLAGS += CPATH="/usr/include:/usr/include/x86_64-linux-gnu" HOSTCFLAGS="-fuse-ld=lld" HOSTLDFLAGS="-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld"
|
||||
KERNEL_MAKE_FLAGS += CPATH="/usr/include:/usr/include/x86_64-linux-gnu" HOSTLDFLAGS="-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld"
|
||||
endif
|
||||
|
||||
TOOLS_PATH_OVERRIDE := \
|
||||
|
|
Loading…
Reference in a new issue