commit:     81fc1c44d2518da2bdb48bff5d465c35a8282b8e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 13:18:18 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Jul  6 18:49:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81fc1c44

kde5-functions.eclass: only perform the GCC version check if KDE_GCC_MINIMAL is 
defined

 eclass/kde5-functions.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index df5d053..2c45abc 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -76,7 +76,8 @@ export KDE_BUILD_TYPE
 # @DESCRIPTION:
 # Determine if the current GCC version is acceptable, otherwise die.
 _check_gcc_version() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
+       if [[ ${MERGE_TYPE} != binary && -v KDE_GCC_MINIMAL ]]; then
+
                local version=$(gcc-version)
                local major=${version%.*}
                local minor=${version#*.}

Reply via email to