Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 175762 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-cross-compile
distcc-cross-compile.patch (text/plain), 1.06 KB, created by
Russell Harmon
on 2008-12-18 17:46:23 UTC
(
hide
)
Description:
distcc-cross-compile
Filename:
MIME Type:
Creator:
Russell Harmon
Created:
2008-12-18 17:46:23 UTC
Size:
1.06 KB
patch
obsolete
>--- /usr/portage/sys-devel/distcc/distcc-3.1.ebuild 2008-12-03 04:19:07.000000000 -0500 >+++ distcc-3.1.ebuild 2008-12-18 12:32:10.465848896 -0500 >@@ -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" > >@@ -95,8 +95,20 @@ > > # 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