util/msrtool: teach the configure script to use clang

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Change-Id: I5d0cbbb0c415df0d7b899cf5eb1a9a52dd98bef9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49668
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Idwer Vollering 2021-01-18 16:26:50 +01:00 committed by Patrick Georgi
parent ad581984a6
commit 68bcc083bd
1 changed files with 1 additions and 1 deletions

View File

@ -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"