diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-08-20 11:01:56 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-08-20 11:01:56 -0400 |
commit | cc0c94b66de55e064b50c8bc1d4c5da75d4020c4 (patch) | |
tree | f28231819bf90e67e2167be51615f83353d01a48 /www-client/chromium | |
parent | d6a59ce5016ded24e6fb3aff8c3164db914af7ef (diff) | |
download | gentoo-cc0c94b66de55e064b50c8bc1d4c5da75d4020c4.tar.gz gentoo-cc0c94b66de55e064b50c8bc1d4c5da75d4020c4.tar.xz |
www-client/chromium: simplify gcc version check
Diffstat (limited to 'www-client/chromium')
-rw-r--r-- | www-client/chromium/chromium-54.0.2832.2.ebuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/www-client/chromium/chromium-54.0.2832.2.ebuild b/www-client/chromium/chromium-54.0.2832.2.ebuild index e47befc4eeb..9a46018043f 100644 --- a/www-client/chromium/chromium-54.0.2832.2.ebuild +++ b/www-client/chromium/chromium-54.0.2832.2.ebuild @@ -165,8 +165,7 @@ PATCHES=( ) pkg_pretend() { - if [[ $(tc-getCC) == *gcc* ]] && \ - [[ $(gcc-major-version)$(gcc-minor-version) -lt 48 ]]; then + if tc-is-gcc && ! version_is_at_least 4.8 "$(gcc-version)"; then die 'At least gcc 4.8 is required, see bugs: #535730, #525374, #518668.' fi |