diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-25 05:24:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-25 05:24:31 +0100 |
commit | 4eda0fe5576868e6c7f97b51aa1c279ff8cd320c (patch) | |
tree | c0397a47938edbcb6e46e34fe4f0defa3e4db920 /eclass/toolchain.eclass | |
parent | b914cf9afa036a8ab23e8cb4cf7df1acd4a1bd44 (diff) |
gentoo auto-resync : 25:09:2023 - 05:24:31
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6a88676b750d..d93068619cf9 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -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, |