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 2B6D2139085 for ; Thu, 12 Jan 2017 15:25:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A314E0E79; Thu, 12 Jan 2017 15:25:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 28B26E0E79 for ; Thu, 12 Jan 2017 15:25:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65B9C3416B3 for ; Thu, 12 Jan 2017 15:25:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 835972630 for ; Thu, 12 Jan 2017 15:25:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1484234729.f119161cba79476efb6547a1955cf1dd0ea51aac.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/compiler-rt/compiler-rt-9999.ebuild X-VCS-Directories: sys-libs/compiler-rt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f119161cba79476efb6547a1955cf1dd0ea51aac X-VCS-Branch: master Date: Thu, 12 Jan 2017 15:25: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: 952bb572-0136-4304-826a-1e00c9da368c X-Archives-Hash: 35b597d80c508369863bf5b09146be65 commit: f119161cba79476efb6547a1955cf1dd0ea51aac Author: Michał Górny gentoo org> AuthorDate: Thu Jan 12 10:53:40 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 12 15:25:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f119161c sys-libs/compiler-rt: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo sys-libs/compiler-rt/compiler-rt-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-libs/compiler-rt/compiler-rt-9999.ebuild b/sys-libs/compiler-rt/compiler-rt-9999.ebuild index 356ff8e..8f44cb9 100644 --- a/sys-libs/compiler-rt/compiler-rt-9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-9999.ebuild @@ -5,6 +5,8 @@ EAPI=6 : ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) # TODO: fix unnecessary dep on Python upstream @@ -28,6 +30,9 @@ DEPEND="${RDEPEND} test? ( ~sys-devel/clang-${PV} ) ${PYTHON_DEPS}" +# least intrusive of all +CMAKE_BUILD_TYPE=RelWithDebInfo + test_compiler() { $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ <<<'int main() { return 0; }' &>/dev/null