Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274891 Details for
Bug 369027
Port sys-devel/clang-2.9 changes to trunk ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
clang-9999.patch (text/plain), 1.87 KB, created by
Florian Sowade
on 2011-05-28 15:17:04 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Florian Sowade
Created:
2011-05-28 15:17:04 UTC
Size:
1.87 KB
patch
obsolete
>diff --git a/clang-9999.ebuild b/clang-9999.ebuild >index a3db73f..798bb22 100644 >--- a/clang-9999.ebuild >+++ b/clang-9999.ebuild >@@ -17,11 +17,11 @@ ESVN_REPO_URI="http://llvm.org/svn/llvm-project/cfe/trunk" > LICENSE="UoI-NCSA" > SLOT="0" > KEYWORDS="" >-IUSE="debug +static-analyzer system-cxx-headers test" >+IUSE="alltargets debug +static-analyzer +system-cxx-headers test" > > # Note: for LTO support, clang will depend on binutils with gold plugins, and LLVM built after that - http://llvm.org/docs/GoldPlugin.html > DEPEND="static-analyzer? ( dev-lang/perl )" >-RDEPEND="~sys-devel/llvm-${PV}" >+RDEPEND="~sys-devel/llvm-${PV}[alltargets=]" > > S="${WORKDIR}/llvm" > >@@ -62,7 +62,7 @@ src_prepare() { > } > > src_configure() { >- local CONF_FLAGS="" >+ local CONF_FLAGS="--enable-shared" > > if use debug; then > CONF_FLAGS="${CONF_FLAGS} --disable-optimized" >@@ -81,6 +81,12 @@ src_configure() { > --with-c-include-dirs=${EPREFIX}/usr/include:/usr/include" > fi > >+ if use alltargets; then >+ CONF_FLAGS="${CONF_FLAGS} --enable-targets=all" >+ else >+ CONF_FLAGS="${CONF_FLAGS} --enable-targets=host-only" >+ fi >+ > if use amd64; then > CONF_FLAGS="${CONF_FLAGS} --enable-pic" > fi >@@ -89,8 +95,10 @@ src_configure() { > CONF_FLAGS="${CONF_FLAGS} --with-llvmgccdir=/dev/null" > > if use system-cxx-headers; then >- # Try to get current C++ headers path >- CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-root=$(gcc-config -X| cut -d: -f1 | sed '/-v4$/! s,$,/include/g++-v4,')" >+ # Try to get current gcc headers path >+ local CXX_PATH=$(gcc-config -X| cut -d: -f1 | sed 's,/include/g++-v4$,,') >+ CONF_FLAGS="${CONF_FLAGS} --with-c-include-dirs=/usr/include:${CXX_PATH}/include" >+ CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-root=${CXX_PATH}/include/g++-v4" > CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-arch=$CHOST" > if has_multilib_profile; then > CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-32bit-dir=32"
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 369027
: 274891