sys-boot/gnu-efi: Sync with Gentoo

It's from Gentoo commit 1228ce0c5b683ffde567bbf535a96ac96d546af4.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:08:36 +00:00
parent 2219d7037e
commit cfce49444e

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
}