mk: re-make gnupath/ after handling crossgcc

instead of deleting every file within

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-04 08:07:53 +01:00
parent 1b7a9fd637
commit f5b2bdb886

2
mk
View File

@@ -317,7 +317,7 @@ check_cross_compiler()
x_ make -C "$cbdir" crossgcc-$xfix $xgccargs
# we only want to mess with hostcc to build xgcc
rm -f "$XBMK_CACHE/gnupath/"* || $err "Can't clear gnupath/"; :
remkdir "$XBMK_CACHE/gnupath"
}
# fix mismatching gcc/gnat versions on debian trixie/sid. as of december 2024,