Skip to content

Commit

Permalink
ABI: keep FreeBSD's specifics for old arm binaries really specific
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Dec 3, 2024
1 parent 9c84872 commit 034d21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkg_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ analyse_elf(struct pkg *pkg, const char *fpath)
}

#ifdef __FreeBSD__
if (elfhdr.e_ident[EI_OSABI] != ELFOSABI_FREEBSD &&
if (ctx.abi.os == PKG_OS_FREEBSD && elfhdr.e_ident[EI_OSABI] != ELFOSABI_FREEBSD &&
!is_old_freebsd_armheader(&elfhdr)) {
ret = EPKG_END;
goto cleanup;
Expand Down

0 comments on commit 034d21d

Please sign in to comment.