diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 08:14:44 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:22 +0100 |
commit | e740ab7e5a4b3d08caf0c1f1825d09db1c155f4f (patch) | |
tree | 9a07df2358feb6a019537b8566de4ec6d6d7404b | |
parent | 656a7b450b52f518af639bfedab9842c02e6047a (diff) |
mk: tidy up xgccargs handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | mk | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -310,9 +310,8 @@ check_cross_compiler() check_gnu_path gcc gnat || x_ check_gnu_path gnat gcc xfix="${1%-*}" && [ "$xfix" = "x86_64" ] && xfix="x64" - xgccargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS" - make -C "$cbdir" crossgcc-$xfix $xgccargs || \ - x_ make -C "$cbdir" crossgcc-$xfix $xgccargs + xgccargs="crossgcc-$xfix UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS" + make -C "$cbdir" $xgccargs || x_ make -C "$cbdir" $xgccargs # we only want to mess with hostcc to build xgcc remkdir "$XBMK_CACHE/gnupath" |