summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-03-18 19:45:49 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-03-18 19:45:49 +0000
commitd8e2dae50a2ef9ce6195f1c66fc514457cc0db76 (patch)
tree16f7c6368782b0971a2a99f476f2ce7d0a5f013e /eclass
parentNew RC, add custom-cflags use, fix dependencies and cleanups (diff)
downloadgentoo-2-d8e2dae50a2ef9ce6195f1c66fc514457cc0db76.tar.gz
gentoo-2-d8e2dae50a2ef9ce6195f1c66fc514457cc0db76.tar.bz2
gentoo-2-d8e2dae50a2ef9ce6195f1c66fc514457cc0db76.zip
Silence undefined warnings, since our eclass operate this way with all enablers (and we trust that maintainers know what the heck are they doing).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake-utils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index be3ab0638965..b0a8f66ddc56 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.66 2011/01/26 20:51:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.67 2011/03/18 19:45:49 scarabeus Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
@@ -348,6 +348,7 @@ enable_cmake-utils_src_configure() {
# NOTE CMAKE_BUILD_TYPE can be only overriden via CMAKE_BUILD_TYPE eclass variable
# No -DCMAKE_BUILD_TYPE=xxx definitions will be in effect.
local cmakeargs=(
+ --no-warn-unused-cli
-C "${common_config}"
-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX:-/usr}"
"${mycmakeargs_local[@]}"