mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user