sys-boot/gnu-efi: fix building on llvm profile

The llvm profile does not have sys-devel/binutils.
Remove the check from pkg_pretend, before it being installed.

Bug: https://bugs.gentoo.org/940728
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2024-10-15 07:37:36 +03:00
parent 2b2766cedc
commit 1228ce0c5b

View File

@@ -61,18 +61,18 @@ check_and_set_objcopy() {
fi
}
check_comppiler() {
check_compiler() {
if [[ ${MERGE_TYPE} != "binary" ]]; then
tc-is-gcc || tc-is-clang || die "Unsupported compiler"
fi
}
pkg_pretend() {
check_comppiler
check_and_set_objcopy
check_compiler
}
pkg_setup() {
check_compiler
check_and_set_objcopy
}