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 CF47813829C for ; Thu, 9 Jun 2016 16:55:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B314141E5; Thu, 9 Jun 2016 16:55:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE2BB25402C for ; Thu, 9 Jun 2016 16:55:34 +0000 (UTC) Received: from semaphore.home.gateway (2001-44b8-4197-2800-b178-06cb-d4bc-08a1.static.ipv6.internode.on.net [IPv6:2001:44b8:4197:2800:b178:6cb:d4bc:8a1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kensington) by smtp.gentoo.org (Postfix) with ESMTPSA id E1A09340C50; Thu, 9 Jun 2016 16:55:31 +0000 (UTC) From: Michael Palimaka To: gentoo-dev@lists.gentoo.org Cc: Michael Palimaka Subject: [gentoo-dev] [PATCH] cmake-utils.eclass: do not pass CMAKE_INSTALL_DO_STRIP in EAPI 6 and later Date: Fri, 10 Jun 2016 02:55:19 +1000 Message-Id: <1465491319-9119-1-git-send-email-kensington@gentoo.org> X-Mailer: git-send-email 2.7.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 76f6e521-543f-4b44-9b06-b467eb1bb67b X-Archives-Hash: 5ce5ba4c3f84c7ffecf2bd13ab00605f CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good opportunity to get rid of it. --- eclass/cmake-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 02b06bb..bfd3581 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -628,7 +628,7 @@ enable_cmake-utils_src_configure() { -DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}" "${mycmakeargs_local[@]}" -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" - -DCMAKE_INSTALL_DO_STRIP=OFF + $([[ ${EAPI} == [2345] ]] && echo -DCMAKE_INSTALL_DO_STRIP=OFF) -DCMAKE_USER_MAKE_RULES_OVERRIDE="${build_rules}" -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" "${MYCMAKEARGS}" -- 2.7.3