From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 880451389E2 for ; Thu, 18 Dec 2014 16:38:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1355E0AA7; Thu, 18 Dec 2014 16:38:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98256E0AA7 for ; Thu, 18 Dec 2014 16:38:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C87C2340653 for ; Thu, 18 Dec 2014 16:38:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F4C6CC1B for ; Thu, 18 Dec 2014 16:38:39 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1418920721.f77b5707016e657ea8ca4cde41a0e15cef2ec494.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: f77b5707016e657ea8ca4cde41a0e15cef2ec494 X-VCS-Branch: master Date: Thu, 18 Dec 2014 16:38:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 736462ec-ce7c-4b48-be3f-e3e92c4dbd2c X-Archives-Hash: 9bb7baf544e9ae3bf460a20a89d69a40 commit: f77b5707016e657ea8ca4cde41a0e15cef2ec494 Author: Michael Palimaka gentoo org> AuthorDate: Thu Dec 18 16:38:41 2014 +0000 Commit: Michael Palimaka gentoo 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