Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 277291 Details for
Bug 371951
sys-devel/llvm: Add the USE-flag "gold" for building the LLVMgold.so plugin for the gold linker necessary for link time optimization
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed ebuild with USE-flag "gold"
llvm-2.9-r3.ebuild.patch (text/plain), 1.32 KB, created by
Matthias Maier
on 2011-06-16 20:08:51 UTC
(
hide
)
Description:
Proposed ebuild with USE-flag "gold"
Filename:
MIME Type:
Creator:
Matthias Maier
Created:
2011-06-16 20:08:51 UTC
Size:
1.32 KB
patch
obsolete
>--- /usr/portage/sys-devel/llvm/llvm-2.9-r2.ebuild 2011-05-23 13:43:47.000000000 +0200 >+++ llvm-2.9-r3.ebuild 2011-06-16 22:05:46.637949361 +0200 >@@ -1,6 +1,6 @@ > # Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.9-r2.ebuild,v 1.1 2011/05/23 11:43:47 voyageur Exp $ >+# $Header: $ > > EAPI="3" > inherit eutils flag-o-matic multilib toolchain-funcs >@@ -12,7 +12,7 @@ > LICENSE="UoI-NCSA" > SLOT="0" > KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" >-IUSE="alltargets debug +libffi llvm-gcc ocaml test udis86 vim-syntax" >+IUSE="alltargets debug gold +libffi llvm-gcc ocaml test udis86 vim-syntax" > > DEPEND="dev-lang/perl > >=sys-devel/make-3.79 >@@ -22,6 +22,7 @@ > !~sys-devel/bison-1.875 > || ( >=sys-devel/gcc-3.0 >=sys-devel/gcc-apple-4.2.1 ) > || ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 ) >+ gold? ( >=sys-devel/binutils-2.21 ) > libffi? ( dev-util/pkgconfig > virtual/libffi ) > ocaml? ( dev-lang/ocaml ) >@@ -105,6 +106,10 @@ > CONF_FLAGS="${CONF_FLAGS} --enable-pic" > fi > >+ if use gold; then >+ CONF_FLAGS="${CONF_FLAGS} --with-binutils-include=${EROOT%/}/usr/include/" >+ fi >+ > # things would be built differently depending on whether llvm-gcc is > # used or not. > local LLVM_GCC_DIR=/dev/null
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371951
:
277285
| 277291