Don't set BFD_DECOMPRESS when building against older binutils

This commit is contained in:
Martin Willi
2012-07-13 13:42:31 +02:00
parent c6343cf0ad
commit 0e3c697c05
+2
View File
@@ -217,7 +217,9 @@ static bfd_entry_t *get_bfd_entry(char *filename)
free(entry);
return NULL;
}
#ifdef BFD_DECOMPRESS
entry->abfd->flags |= BFD_DECOMPRESS;
#endif
if (bfd_check_format(entry->abfd, bfd_archive) == 0 &&
bfd_check_format_matches(entry->abfd, bfd_object, NULL))
{