Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187056 Details for
Bug 84942
sys-devel/distcc - cross-compile workaround
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
distcc-3.0-r4-cross-compile.patch
distcc-cross-compile.patch (text/plain), 1.05 KB, created by
Marcello Magaldi
on 2009-04-02 10:18:59 UTC
(
hide
)
Description:
distcc-3.0-r4-cross-compile.patch
Filename:
MIME Type:
Creator:
Marcello Magaldi
Created:
2009-04-02 10:18:59 UTC
Size:
1.05 KB
patch
obsolete
>--- distcc-3.0-r4.ebuild.orig 2009-04-02 11:59:38.000000000 +0200 >+++ distcc-3.0-r4.ebuild 2009-04-02 12:03:21.000000000 +0200 >@@ -11,7 +11,7 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" >-IUSE="avahi gnome gtk hardened ipv6 selinux xinetd" >+IUSE="avahi gnome gtk hardened ipv6 selinux xinetd cross-compile" > > RESTRICT="test" > >@@ -105,8 +105,22 @@ > > # create the masquerade directory > dodir "${DCCC_PATH}" >+ if use cross-compile; then >+ exeinto "${DCCC_PATH}" >+ cat > "${T}/${CTARGET:-${CHOST}}-wrapper" <<-EOF >+ #!/bin/bash >+ exec ${DCCC_PATH}/${CTARGET:-${CHOST}}-g\${0:\$[-2]} "\$@" >+ EOF >+ doexe "${T}/${CTARGET:-${CHOST}}-wrapper" >+ fi >+ > for f in cc c++ gcc g++; do >- dosym /usr/bin/distcc "${DCCC_PATH}/${f}" >+ if use cross-compile; then >+ dosym "${DCCC_PATH}/${CTARGET:-${CHOST}}-wrapper" "${DCCC_PATH}/${f}" >+ else >+ dosym /usr/bin/distcc "${DCCC_PATH}/${f}" >+ fi >+ > if [ "${f}" != "cc" ]; then > dosym /usr/bin/distcc "${DCCC_PATH}/${CTARGET:-${CHOST}}-${f}" > fi
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 84942
:
73313
|
175762
|
187056
|
191343