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:
parent
ad581984a6
commit
68bcc083bd
|
@ -129,7 +129,7 @@ trylink() {
|
||||||
exit 1
|
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
|
INSTALL=`findprog "install" "${INSTALL}" install ginstall` || exit
|
||||||
|
|
||||||
test -n "$DEBUG" && myCFLAGS="-O2 -g" || myCFLAGS="-Os"
|
test -n "$DEBUG" && myCFLAGS="-O2 -g" || myCFLAGS="-Os"
|
||||||
|
|
Loading…
Reference in New Issue