From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91B561382C5 for ; Thu, 11 Mar 2021 18:25:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F11FE08D3; Thu, 11 Mar 2021 18:25:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84B8DE08D3 for ; Thu, 11 Mar 2021 18:25:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57F3D340CE2 for ; Thu, 11 Mar 2021 18:25:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD4F558C for ; Thu, 11 Mar 2021 18:25:26 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1615487122.d1a22fa531c41c3b0d5f8c99437ec52bc19c96ac.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild dev-db/mysql-connector-c/mysql-connector-c-8.0.23.ebuild X-VCS-Directories: dev-db/mysql-connector-c/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: d1a22fa531c41c3b0d5f8c99437ec52bc19c96ac X-VCS-Branch: master Date: Thu, 11 Mar 2021 18:25:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68d4450d-45e3-407e-85bb-d8d1af2186a3 X-Archives-Hash: cdb1be5d2c7e5925534e21324104e3ee commit: d1a22fa531c41c3b0d5f8c99437ec52bc19c96ac Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Mar 11 16:30:10 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Mar 11 18:25:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a22fa5 dev-db/mysql-connector-c: disable debug options Previous version used now deprecated cmake-utils eclass which added -DNDEBUG to CPP flags. With new cmake eclass we have to do that on our own. Let us do it the same way we do it for dev-db/mysql, i.e. set CMAKE_BUILD_TYPE and corresponding CMAKE_CXX_FLAGS_RELWITHDEBINFO option. Closes: https://bugs.gentoo.org/775047 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> ...-connector-c-8.0.23.ebuild => mysql-connector-c-8.0.23-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.23.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild similarity index 95% rename from dev-db/mysql-connector-c/mysql-connector-c-8.0.23.ebuild rename to dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild index 6553c3776e5..ccb3b8c270b 100644 --- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.23.ebuild +++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.23-r1.ebuild @@ -77,7 +77,11 @@ src_prepare() { } multilib_src_configure() { + CMAKE_BUILD_TYPE="RelWithDebInfo" + local mycmakeargs=( + -DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG + -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG -DINSTALL_LAYOUT=RPM -DINSTALL_LIBDIR=$(get_libdir) -DWITH_DEFAULT_COMPILER_OPTIONS=OFF @@ -93,6 +97,7 @@ multilib_src_configure() { -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DWITHOUT_SERVER=ON ) + cmake_src_configure }