Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117356 Details for
Bug 120076
have catalyst automatically setup a cross-compiling environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
catalyst.patch (text/plain), 1006 bytes, created by
Andrew Gaffney (RETIRED)
on 2007-04-27 02:29:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Andrew Gaffney (RETIRED)
Created:
2007-04-27 02:29:40 UTC
Size:
1006 bytes
patch
obsolete
>Index: targets/support/chroot-functions.sh >=================================================================== >--- targets/support/chroot-functions.sh (revision 1234) >+++ targets/support/chroot-functions.sh (working copy) >@@ -61,6 +61,14 @@ > #fi > mkdir -p /etc/distcc > echo "${clst_distcc_hosts}" > /etc/distcc/hosts >+ >+ # This sets up automatic cross-distcc-fu according to http://www.gentoo.org/doc/en/cross-compiling-distcc.xml >+ CHOST=$(portageq envvar CHOST) >+ cd /usr/lib/distcc/bin >+ rm cc gcc g++ c++ 2>/dev/null >+ echo -e '#!/bin/bash\nexec /usr/lib/distcc/bin/'${CHOST}'-g${0:$[-2]} "$@"' > ${CHOST}-wrapper >+ chmod a+x /usr/lib/distcc/bin/${CHOST}-wrapper >+ for i in cc gcc g++ c++; do ln -s ${CHOST}-wrapper ${i}; done > fi > } > >@@ -121,6 +129,11 @@ > > cleanup_distcc() { > rm -rf /etc/distcc/hosts >+ for i in cc gcc c++ g++; do >+ rm /usr/lib/distcc/bin/${i} >+ ln -s /usr/bin/distcc /usr/lib/distcc/bin/${i} >+ done >+ rm /usr/lib/distcc/bin/*-wrapper > } > > update_env_settings(){
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 120076
:
77926
|
77998
|
78003
|
78029
| 117356