diff options
author | Idwer Vollering <vidwer@gmail.com> | 2021-01-18 16:26:50 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-11 14:32:02 +0000 |
commit | 68bcc083bde5135aa0d52b11d62d6ec74947cde5 (patch) | |
tree | a642cfff81e7653bb653db3f63c57f1eb55f45ca | |
parent | ad581984a6909831671df53c9f331968445f41e1 (diff) |
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>
-rwxr-xr-x | util/msrtool/configure | 2 |
1 files changed, 1 insertions, 1 deletions
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" |