Use "&& mv $@.tmp $@" for threads/intr-stubs.S.