projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0487efb
)
cmake.eclass: Fix build with CMAKE_VERBOSE=OFF
author
Andreas Sturmlechner
<asturm@gentoo.org>
Sun, 5 Jan 2020 13:51:47 +0000
(14:51 +0100)
committer
Andreas Sturmlechner
<asturm@gentoo.org>
Sun, 5 Jan 2020 13:55:32 +0000
(14:55 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/cmake.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake.eclass
b/eclass/cmake.eclass
index c91e2dd4ada221d7cd6d10d412b49df3ec1babb9..4a02a646bb76965633ffe5e82794c3e615819c5a 100644
(file)
--- a/
eclass/cmake.eclass
+++ b/
eclass/cmake.eclass
@@
-566,8
+566,10
@@
cmake_build() {
case ${CMAKE_MAKEFILE_GENERATOR} in
emake)
[[ -e Makefile ]] || die "Makefile not found. Error during configure stage."
- [[ "${CMAKE_VERBOSE}" != "OFF" ]] && local verbosity="VERBOSE=1"
- emake "${verbosity}" "$@"
+ case ${CMAKE_VERBOSE} in
+ OFF) emake VERBOSE=1 "$@" ;;
+ *) emake "$@" ;;
+ esac
;;
ninja)
[[ -e build.ninja ]] || die "build.ninja not found. Error during configure stage."