diff options
author | 2016-07-07 06:50:11 +1000 | |
---|---|---|
committer | 2016-07-07 23:43:22 +1000 | |
commit | 0788b3785c3ed148a430329152b18073c6d1f23f (patch) | |
tree | c8c1cafe870da93fca4d4385693cca7e0ee01435 /eclass | |
parent | app-shells/thefuck: Version bump to 3.10 (diff) | |
download | gentoo-0788b3785c3ed148a430329152b18073c6d1f23f.tar.gz gentoo-0788b3785c3ed148a430329152b18073c6d1f23f.tar.bz2 gentoo-0788b3785c3ed148a430329152b18073c6d1f23f.zip |
kde5-functions.eclass: don't perform gcc version check with clang
This used to "work" because gcc-version relied on gcc-config, even if GCC was
not the active compiler. gcc-version has since been fixed to always use CC
instead.
Gentoo-bug: 587998
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde5-functions.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index ad3034a491a1..a03c2ad29fd4 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -76,7 +76,7 @@ export KDE_BUILD_TYPE # @DESCRIPTION: # Determine if the current GCC version is acceptable, otherwise die. _check_gcc_version() { - if [[ ${MERGE_TYPE} != binary && -v KDE_GCC_MINIMAL ]]; then + if [[ ${MERGE_TYPE} != binary && -v KDE_GCC_MINIMAL ]] && tc-is-gcc; then local version=$(gcc-version) local major=${version%.*} |