summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>2016-12-28 17:10:48 +0000
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>2016-12-28 18:19:07 +0100
commit5999edeb33594fd2c850ad8c93f46e697b8657b6 (patch)
tree30bc6612e8452b779b4e1e0119a5873ad5b50311 /www-client/chromium/chromium-57.0.2950.4.ebuild
parentnet-misc/kafka-bin: Bump (diff)
downloadgentoo-5999edeb33594fd2c850ad8c93f46e697b8657b6.tar.gz
gentoo-5999edeb33594fd2c850ad8c93f46e697b8657b6.tar.bz2
gentoo-5999edeb33594fd2c850ad8c93f46e697b8657b6.zip
Require at least clang-3.9.1 (bug #601654 by Markus Hauschild)
Diffstat (limited to 'www-client/chromium/chromium-57.0.2950.4.ebuild')
-rw-r--r--www-client/chromium/chromium-57.0.2950.4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-57.0.2950.4.ebuild b/www-client/chromium/chromium-57.0.2950.4.ebuild
index 3819b74324bc..1da0e2c5115a 100644
--- a/www-client/chromium/chromium-57.0.2950.4.ebuild
+++ b/www-client/chromium/chromium-57.0.2950.4.ebuild
@@ -170,6 +170,10 @@ PATCHES=(
pre_build_checks() {
if [[ ${MERGE_TYPE} != binary ]]; then
local -x CPP="$(tc-getCXX) -E"
+ if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then
+ # bugs: #601654
+ die "At least clang 3.9.1 is required"
+ fi
if tc-is-gcc && ! version_is_at_least 5 "$(gcc-major-version)"; then
# bugs: #535730, #525374, #518668, #600288
die "At least gcc 5 is required"