trees: remove unnecessary subshell

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2024-12-30 18:38:42 +00:00
parent ad137eae89
commit 6c7e3ce2d6
1 changed files with 1 additions and 3 deletions

View File

@ -207,10 +207,8 @@ check_cross_compiler()
xfix="${_xarch%-*}" && [ "$xfix" = "x86_64" ] && xfix="x64"
# match gnat-X to gcc
(
check_gnu_path gcc gnat || check_gnu_path gnat gcc || \
$err "Host GCC/GNAT mismatch"
) || $err "Cannot match host GCC/GNAT versions"
$err "Cannot match host GCC/GNAT versions"
# sometimes buildgcc fails for like no reason. try twice.
make -C "$cbdir" crossgcc-$xfix $xgccargs || \