From 38f8401a1a9d007904cf4aa8dffa13c012e170ae Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Thu, 20 Aug 2020 13:49:01 -0700 Subject: [PATCH] ANDROID: build.config.common: enable LLVM=1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This moves builds to all use LLVM=1 argument to make, rather than CC=​clang NM=llvm-nm OBJCOPY=llvm-objcopy ... (see also https://www.kernel.org/doc/html/latest/kbuild/llvm.html#llvm-utilities). Step 3 of aosp/1405387. Bug: 65987925 Bug: 141693040 Signed-off-by: Nick Desaulniers Change-Id: I0975dcad48b6c5344124343606e1c7f85e76e4ee --- build.config.common | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.config.common b/build.config.common index b2a3b7dbd4c4..c0c37ebbb85b 100644 --- a/build.config.common +++ b/build.config.common @@ -1,10 +1,7 @@ BRANCH=android11-5.4 KMI_GENERATION=2 -CC=clang -LD=ld.lld -NM=llvm-nm -OBJCOPY=llvm-objcopy +LLVM=1 CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r416183b/bin DEPMOD=depmod BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86