Sometimes the build is killed or otherwise shits out on its own, and the output isn't good. This breaks future builds. Example:Please sign in to post comments, or you can view this issue on GitHub.
/home/username/.enigma/.eobjs/Linux/Linux/GNU_GCC_G++/Run/Universal_System/Extensions/ParticleSystems/PS_particle_particles_apiimpl.o: file not recognized: File truncated
A simple way to handle this is a string search for "file not recognized: File truncated" and delete the preceding file. This should work as long as we're enforcing LC_ALL for our behind-the-scenes build ops.