diff options
author | Sam James <sam@gentoo.org> | 2023-08-24 15:57:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-24 15:57:32 +0100 |
commit | e0bfeb250d886e096fd861a5d280e798c1e16e9c (patch) | |
tree | bfa08433b8894811d96173a3084e5bc14a818757 /sys-libs/glibc/glibc-9999.ebuild | |
parent | sys-apps/gentoo-functions: drop 0.17 (diff) | |
download | gentoo-e0bfeb250d886e096fd861a5d280e798c1e16e9c.tar.gz gentoo-e0bfeb250d886e096fd861a5d280e798c1e16e9c.tar.bz2 gentoo-e0bfeb250d886e096fd861a5d280e798c1e16e9c.zip |
sys-libs/glibc: don't show upgrade_warning for cross-*
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-9999.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index c80a8e763200..6863e2427bf6 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -864,6 +864,8 @@ sanity_prechecks() { } upgrade_warning() { + is_crosscompile && return + if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then local oldv newv=$(ver_cut 1-2 ${PV}) for oldv in ${REPLACING_VERSIONS}; do |