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 38482139694 for ; Tue, 14 Mar 2017 17:39:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3318621C14A; Tue, 14 Mar 2017 17:38:18 +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 0FE6D21C14A for ; Tue, 14 Mar 2017 17:38:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2D703340988 for ; Tue, 14 Mar 2017 17:38:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9C47681B for ; Tue, 14 Mar 2017 17:38:15 +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: <1489513089.32eafe028f4d665efca2ef3b8405a9ff2aad1a9f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libclc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild X-VCS-Directories: dev-libs/libclc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 32eafe028f4d665efca2ef3b8405a9ff2aad1a9f X-VCS-Branch: master Date: Tue, 14 Mar 2017 17:38:15 +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: e166450a-a7ed-4fcd-a2c8-965f633d0462 X-Archives-Hash: a23fb7162ab1dc94a43f2f61ccd08c6d commit: 32eafe028f4d665efca2ef3b8405a9ff2aad1a9f Author: Michał Górny gentoo org> AuthorDate: Tue Mar 14 17:31:50 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 14 17:38:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32eafe02 dev-libs/libclc: Respect CXX to fix C++ stdlib incompat, #612582 Force using the correct C++ compiler via passing --with-cxx-compiler= to the configure script. Otherwise, libclc defaults to using clang++ which can cause compatibility issues when clang++ defaults to libc++ and LLVM was built using gcc. This does not affect the compiler used to build the runtime. dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild index 016da1ccc2b..a3f5bf3c2c7 100644 --- a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild +++ b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild @@ -15,7 +15,7 @@ else GIT_ECLASS="vcs-snapshot" fi -inherit python-any-r1 ${GIT_ECLASS} +inherit python-any-r1 toolchain-funcs ${GIT_ECLASS} DESCRIPTION="OpenCL C library" HOMEPAGE="http://libclc.llvm.org/" @@ -40,6 +40,7 @@ DEPEND="${RDEPEND} src_configure() { ./configure.py \ + --with-cxx-compiler="$(tc-getCXX)" \ --with-llvm-config="$(type -P llvm-config)" \ --prefix="${EPREFIX}/usr" || die }