Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/49668 )
Change subject: util/msrtool: teach the configure script to use clang ......................................................................
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 --- M util/msrtool/configure 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/util/msrtool/configure b/util/msrtool/configure index 59d5c63..659cbcd 100755 --- a/util/msrtool/configure +++ b/util/msrtool/configure @@ -129,7 +129,7 @@ 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"