diff options
author | Michael Palimaka <kensington@gentoo.org> | 2014-12-18 16:39:08 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2014-12-18 16:39:08 +0000 |
commit | 948496adfbe3dae4d21c179085aaa8de658fd6e6 (patch) | |
tree | c0af074baa29e9276ca38f3c73f831c2111ff000 /eclass/cmake-utils.eclass | |
parent | Version bump. Cleanup old. (diff) | |
download | gentoo-2-948496adfbe3dae4d21c179085aaa8de658fd6e6.tar.gz gentoo-2-948496adfbe3dae4d21c179085aaa8de658fd6e6.tar.bz2 gentoo-2-948496adfbe3dae4d21c179085aaa8de658fd6e6.zip |
Declare local CPPFLAGS to avoid multiple appends in cmake-multilib.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 07f9b635149f..04c1c4808081 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.112 2014/10/27 09:49:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.113 2014/12/18 16:39:08 kensington Exp $ # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -450,6 +450,7 @@ enable_cmake-utils_src_configure() { if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then # Handle release builds if ! has debug ${IUSE//+} || ! use debug; then + local CPPFLAGS=${CPPFLAGS} append-cppflags -DNDEBUG fi fi |