summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-07-07 23:42:22 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-07-07 23:43:22 +1000
commit6fadcfcff3caa95536fa1942806607881a35f205 (patch)
tree26f28a86ccc442054aeab394ef8acc50190a8c51 /eclass/kde4-base.eclass
parentkde5-functions.eclass: don't perform gcc version check with clang (diff)
downloadgentoo-6fadcfcff3caa95536fa1942806607881a35f205.tar.gz
gentoo-6fadcfcff3caa95536fa1942806607881a35f205.tar.bz2
gentoo-6fadcfcff3caa95536fa1942806607881a35f205.zip
kde4-base.eclass: don't perform gcc version check with clang
Gentoo-bug: 587998
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 6f71dea72153..5c36b2918f10 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -616,7 +616,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."