Add -c to ar to remove a diagnostic, when the archive is created.