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 E5C4D138330 for ; Mon, 3 Oct 2016 17:03:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1A7CE0B41; Mon, 3 Oct 2016 17:03:10 +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 D83A0E0B41 for ; Mon, 3 Oct 2016 17:03:10 +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 D7D46340EC7 for ; Mon, 3 Oct 2016 17:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF0E92480 for ; Mon, 3 Oct 2016 17:03:07 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1475514132.ab7fc44e73fa6e50494d90fe57deb1e283f191d0.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/amd64-fbsd/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/arch/amd64-fbsd/clang/profile.bashrc X-VCS-Directories: profiles/arch/amd64-fbsd/clang/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: ab7fc44e73fa6e50494d90fe57deb1e283f191d0 X-VCS-Branch: master Date: Mon, 3 Oct 2016 17:03:07 +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: 48e77f60-4c35-42cc-9092-631fd165a882 X-Archives-Hash: a24a23b4246cc7bdf385cca8b203a265 commit: ab7fc44e73fa6e50494d90fe57deb1e283f191d0 Author: Yuta Satoh gmail com> AuthorDate: Sun Oct 2 09:03:17 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Oct 3 17:02:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7fc44e profiles/arch/amd64-fbsd/clang: add some variables for clang support. https://bugs.gentoo.org/show_bug.cgi?id=595878 profiles/arch/amd64-fbsd/clang/profile.bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc index a6e226c..f741ccd 100644 --- a/profiles/arch/amd64-fbsd/clang/profile.bashrc +++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc @@ -4,5 +4,6 @@ # Check if clang/clang++ exist before setting them so that we can more easily # switch to this profile and build stages. -type -P clang > /dev/null && export CC=clang -type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++ +# Some packages will require BUILD_{CC,CXX} variables, bug 595878. +type -P clang > /dev/null && export CC=clang && export BUILD_CC=clang +type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX=clang++ && export BUILD_CXX=clang++