commit: 4568388740ae34ea63221ed05f7daa857f8066b5
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 13:42:22 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 13:42:26 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=45683887
kde4-base.eclass: don't perform gcc version check with clang
Gentoo-bug: 587998
eclass/kde4-base.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 59a1932..f9e7eeb 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -639,7 +639,7 @@ kde4-base_pkg_setup() {
# In theory should be in pkg_pretend but we check it only for kdelibs
there
# and for others we do just quick scan in pkg_setup because pkg_pretend
# executions consume quite some time (ie. when merging 300 packages at
once will cause 300 checks)
- if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc; then
[[ $(gcc-major-version) -lt 4 ]] || \
( [[ $(gcc-major-version) -eq 4 &&
$(gcc-minor-version) -le 6 ]] ) \
&& die "Sorry, but gcc-4.6 and earlier wont work for
some KDE packages."