projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02fb080
)
kde5-functions.eclass: only perform the GCC version check if KDE_GCC_MINIMAL is defined
author
Michael Palimaka
<kensington@gentoo.org>
Sun, 19 Jun 2016 13:18:18 +0000
(23:18 +1000)
committer
Michael Palimaka
<kensington@gentoo.org>
Wed, 6 Jul 2016 18:49:45 +0000
(
04:49
+1000)
eclass/kde5-functions.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5-functions.eclass
b/eclass/kde5-functions.eclass
index df5d053d05c7557d898649222d5872ca3b5b3951..2c45abc59fb03d8ce46660198602d74ab908ba6c 100644
(file)
--- 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#*.}