From 68bcc083bde5135aa0d52b11d62d6ec74947cde5 Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Mon, 18 Jan 2021 16:26:50 +0100 Subject: util/msrtool: teach the configure script to use clang Signed-off-by: Idwer Vollering Change-Id: I5d0cbbb0c415df0d7b899cf5eb1a9a52dd98bef9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49668 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/msrtool/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/msrtool/configure b/util/msrtool/configure index 59d5c63639..659cbcd66b 100755 --- a/util/msrtool/configure +++ b/util/msrtool/configure @@ -129,7 +129,7 @@ trylink() { exit 1 } -CC=`findprog "compiler" "${CC}" gcc cc icc` || exit +CC=`findprog "compiler" "${CC}" clang gcc cc icc` || exit INSTALL=`findprog "install" "${INSTALL}" install ginstall` || exit test -n "$DEBUG" && myCFLAGS="-O2 -g" || myCFLAGS="-Os" -- cgit v1.2.3