commit:     0809c22f07d3be0ea658cb5228aa8ec5d46d253d
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 21:17:24 2018 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 21:17:24 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=0809c22f

qt5-build.eclass: remove gcc version check

Everything older than gcc-5.4.0 has been masked for a while

 eclass/qt5-build.eclass | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index e3c50178..8bea23d4 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -146,15 +146,6 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure 
src_compile src_install sr
 # @DESCRIPTION:
 # Unpacks the sources.
 qt5-build_src_unpack() {
-       if tc-is-gcc; then
-               local min_gcc4_minor_version=7
-               if [[ $(gcc-major-version) -lt 4 ]] || \
-                  [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 
${min_gcc4_minor_version} ]]; then
-                       eerror "GCC version 4.${min_gcc4_minor_version} or 
later is required to build this package"
-                       die "GCC 4.${min_gcc4_minor_version} or later required"
-               fi
-       fi
-
        # bug 307861
        if [[ ${PN} == qtwebengine || ${PN} == qtwebkit ]]; then
                eshopts_push -s extglob

Reply via email to