mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 6302dd47e23ee32cfcb446355704ba8bc61b668e.
This commit is contained in:
parent
218d629e4a
commit
0a13033827
@ -2244,7 +2244,9 @@ should_we_gcc_config() {
|
||||
|
||||
local curr_branch_ver=$(ver_cut 1-2 ${curr_config_ver})
|
||||
|
||||
if [[ ${curr_branch_ver} == ${GCC_BRANCH_VER} ]] ; then
|
||||
if tc_use_major_version_only && [[ ${curr_config_ver} == ${GCCMAJOR} ]] ; then
|
||||
return 0
|
||||
elif ! tc_use_major_version_only && [[ ${curr_branch_ver} == ${GCC_BRANCH_VER} ]] ; then
|
||||
return 0
|
||||
else
|
||||
# If we're installing a genuinely different compiler version,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user