mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
build_library: Drop old workarounds for toolchain binpkgs
This commit is contained in:
parent
449066f395
commit
7b7c78b592
@ -190,9 +190,7 @@ get_cross_pkgs() {
|
|||||||
# Get portage arguments restricting toolchains to binary packages only.
|
# Get portage arguments restricting toolchains to binary packages only.
|
||||||
get_binonly_args() {
|
get_binonly_args() {
|
||||||
local pkgs=( "${TOOLCHAIN_PKGS[@]}" $(get_cross_pkgs "$@") )
|
local pkgs=( "${TOOLCHAIN_PKGS[@]}" $(get_cross_pkgs "$@") )
|
||||||
# XXX: Drop this exception after stable > 1925.
|
echo "${pkgs[@]/#/--useoldpkg-atoms=}" "${pkgs[@]/#/--rebuild-exclude=}"
|
||||||
local tmppkgs=( ${pkgs[*]##*/glibc} ) ; tmppkgs=( ${tmppkgs[*]##*/binutils} )
|
|
||||||
echo "${tmppkgs[@]/#/--useoldpkg-atoms=}" "${pkgs[@]/#/--rebuild-exclude=}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
### Toolchain building utilities ###
|
### Toolchain building utilities ###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user