commit: f77b5707016e657ea8ca4cde41a0e15cef2ec494
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 18 16:38:41 2014 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 16:38:41 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=f77b5707
[eclass] Declare local CPPFLAGS to avoid multiple appends in cmake-multilib.
---
eclass/cmake-utils.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 803e13f..d6b380b 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -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