summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-10-27 22:59:59 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-10-27 22:59:59 +0000
commit969608f27281e3e040d3e6a298c6bc573776f72d (patch)
tree58bc31d413601c7280a6b5e5999993dd1e2595ba /sys-devel/llvm-gcc
parentold (diff)
downloadgentoo-2-969608f27281e3e040d3e6a298c6bc573776f72d.tar.gz
gentoo-2-969608f27281e3e040d3e6a298c6bc573776f72d.tar.bz2
gentoo-2-969608f27281e3e040d3e6a298c6bc573776f72d.zip
Add multilib USE flag and fix no-multilib compilation, bug #290653
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/llvm-gcc')
-rw-r--r--sys-devel/llvm-gcc/ChangeLog5
-rw-r--r--sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-devel/llvm-gcc/ChangeLog b/sys-devel/llvm-gcc/ChangeLog
index 0f74f247fdb2..d688dc136f80 100644
--- a/sys-devel/llvm-gcc/ChangeLog
+++ b/sys-devel/llvm-gcc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/llvm-gcc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/ChangeLog,v 1.2 2009/10/25 20:21:15 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/ChangeLog,v 1.3 2009/10/27 22:59:59 voyageur Exp $
+
+ 27 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-gcc-2.6.ebuild:
+ Add multilib USE flag and fix no-multilib compilation, bug #290653
*llvm-gcc-2.6 (25 Oct 2009)
diff --git a/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild b/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild
index 7d25bf0778ec..d9c52336972f 100644
--- a/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild
+++ b/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild,v 1.1 2009/10/25 20:21:15 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild,v 1.2 2009/10/27 22:59:59 voyageur Exp $
EAPI=2
inherit multilib
@@ -15,7 +15,7 @@ SRC_URI="http://llvm.org/releases/${PV}/${PN}-${MY_PV}.source.tar.gz"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="bootstrap fortran nls objc objc++ test"
+IUSE="bootstrap fortran multilib nls objc objc++ test"
RDEPEND=">=sys-devel/llvm-$PV"
DEPEND="${RDEPEND}
@@ -40,6 +40,7 @@ src_configure() {
use objc++ && EXTRALANGS="${EXTRALANGS},obj-c++"
ECONF_SOURCE="${WORKDIR}"/llvm-gcc${MY_PV}.source econf --prefix=/usr/$(get_libdir)/${PN}-${MY_PV} \
+ $(use_enable multilib) \
--program-prefix=${PN}-${MY_PV}- \
--enable-llvm=/usr --enable-languages=c,c++${EXTRALANGS} \
|| die "configure failed"