Fix parallel make not always catching errors before link time.

jobs -p removes finished jobs from the list after reporting them once,
so we need to record the output and remove duplicates ourselves.
1 file changed