mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
sys-boot/gnu-efi: Sync with Gentoo
It's from Gentoo commit 1228ce0c5b683ffde567bbf535a96ac96d546af4.
This commit is contained in:
parent
2219d7037e
commit
cfce49444e
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user