Skip to content

Commit

Permalink
kde4-base.eclass: don't perform gcc version check with clang
Browse files Browse the repository at this point in the history
Gentoo-bug: 587998
  • Loading branch information
kensington committed Jul 7, 2016
1 parent 0788b37 commit 6fadcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/kde4-base.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 6fadcfc

Please sign in to comment.