summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-27 05:36:02 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-27 05:36:02 +0000
commit369a736d2ab5a79262ec23530678bb797eb1a6f9 (patch)
tree0b69577fba1dc2e9d60b2165ca26b95aa7942dec /eclass/cmake-utils.eclass
parentFixed encoding in ChangeLog (diff)
downloadhistorical-369a736d2ab5a79262ec23530678bb797eb1a6f9.tar.gz
historical-369a736d2ab5a79262ec23530678bb797eb1a6f9.tar.bz2
historical-369a736d2ab5a79262ec23530678bb797eb1a6f9.zip
erm, previous commit wasnt ready, but should be ok with this fix
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index a67a348f22ba..b07a02e8e1f6 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.11 2008/10/27 05:06:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.12 2008/10/27 05:36:02 vapier Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
@@ -85,7 +85,7 @@ cmake-utils_has() { _use_me_now HAVE "$@" ; }
cmake-utils_src_configure() {
debug-print-function $FUNCNAME $*
- if has debug ${IUSE//+} && use debug ; then
+ if ! has debug ${IUSE//+} || ! use debug ; then
append-cppflags -DNDEBUG
fi