all: remove object files when `make depend` fails, as a fallback

This commit is contained in:
Connor Olding 2022-10-15 08:52:59 -07:00
parent c22a02e219
commit d6998f3dcc
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ RUN --mount=type=cache,id=cosmo-build-all,target=/cosmopolitan/o,sharing=locked
# FIXME: SIGSEGV: \
&& skip "o/$mode/third_party/python/Lib/test/test_ioctl.py.runs" \
\
&& { ./makeit MODE="$mode" depend || find o -name '*.o' -delete ;} \
&& ./makeit MODE="$mode" all \
\
# install the binaries somewhere so we can retrieve them without mounting cache: \