mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
trees: remove unnecessary subshell
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-3
@@ -207,10 +207,8 @@ check_cross_compiler()
|
|||||||
xfix="${_xarch%-*}" && [ "$xfix" = "x86_64" ] && xfix="x64"
|
xfix="${_xarch%-*}" && [ "$xfix" = "x86_64" ] && xfix="x64"
|
||||||
|
|
||||||
# match gnat-X to gcc
|
# match gnat-X to gcc
|
||||||
(
|
|
||||||
check_gnu_path gcc gnat || check_gnu_path gnat 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.
|
# sometimes buildgcc fails for like no reason. try twice.
|
||||||
make -C "$cbdir" crossgcc-$xfix $xgccargs || \
|
make -C "$cbdir" crossgcc-$xfix $xgccargs || \
|
||||||
|
|||||||
Reference in New Issue
Block a user