From 0f8658946988156e088d045fd77c9e343ed4de0e Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Fri, 14 Aug 2020 11:42:00 -0700 Subject: [PATCH] config.net_test: default CC to clang but allow override Allow the CC option to be set on the command line which would override clang. If it's not set, then default to using clang. Bug: 164169764 Signed-off-by: Will McVicker Change-Id: I99494787f947d299da045b6e3750ac0b388b0030 --- build.config.net_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.config.net_test b/build.config.net_test index 6ec1946..d6527a4 100644 --- a/build.config.net_test +++ b/build.config.net_test @@ -1,6 +1,6 @@ ARCH=um SUBARCH=x86_64 -CC=clang +CC=${CC:-clang} CLANG_TRIPLE=x86_64-linux-gnu- CROSS_COMPILE=x86_64-linux-androidkernel- EXTRA_CMDS=''