diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-07-27 18:22:45 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-07-27 18:22:45 +0000 |
commit | 924d355cf2dce8003cbef785535003aaa5340dc4 (patch) | |
tree | 0a8baf73ac99c9d927080f79a474fecdd76eb283 /sys-devel/clang/clang-3.1-r5.ebuild | |
parent | Add missing slot dependencies on Qt. (diff) | |
download | gentoo-2-924d355cf2dce8003cbef785535003aaa5340dc4.tar.gz gentoo-2-924d355cf2dce8003cbef785535003aaa5340dc4.tar.bz2 gentoo-2-924d355cf2dce8003cbef785535003aaa5340dc4.zip |
Use tc-export to enforce Gentoo default CC/CXX when $CHOST-clang is available.
(Portage version: 2.2.0_alpha120_p6/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/clang/clang-3.1-r5.ebuild')
-rw-r--r-- | sys-devel/clang/clang-3.1-r5.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/clang/clang-3.1-r5.ebuild b/sys-devel/clang/clang-3.1-r5.ebuild index 7d7464d1214e..e0c2aa61bcbe 100644 --- a/sys-devel/clang/clang-3.1-r5.ebuild +++ b/sys-devel/clang/clang-3.1-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.1-r5.ebuild,v 1.1 2012/07/16 09:33:59 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.1-r5.ebuild,v 1.2 2012/07/27 18:22:45 mgorny Exp $ EAPI=4 @@ -118,6 +118,8 @@ src_configure() { CONF_FLAGS="${CONF_FLAGS} --enable-pic" fi + # clang prefers clang over gcc, so we may need to force that + tc-export CC CXX econf ${CONF_FLAGS} } |