Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234875 Details for
Bug 303545
sys-devel/icecream-0.9.4: icecream-create-env does not work because CHOST is not set
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch that suppress the need to define CHOST
icecream-chost-not-needed.patch (text/plain), 1.11 KB, created by
Quentin Casasnovas
on 2010-06-10 16:38:43 UTC
(
hide
)
Description:
Proposed patch that suppress the need to define CHOST
Filename:
MIME Type:
Creator:
Quentin Casasnovas
Created:
2010-06-10 16:38:43 UTC
Size:
1.11 KB
patch
obsolete
>--- /usr/sbin/icecream-create-env 2010-06-08 00:48:44.923068151 +0200 >+++ ./icecream-create-env 2010-06-10 20:35:46.562490569 +0200 >@@ -10,7 +10,7 @@ > # > # > # Usage: "./icecream-create-env" creates a native environment(similar to icecc --build-native) >-# "./icecream-create-env CHOST" creates a cross-compile environment using the cross-toolchain created by crossdev >+# "./icecream-create-env prefix" creates a cross-compile environment using the cross-toolchain created by crossdev > # Example: > # "emerge crossdev && crossdev -t sparc-unknown-linux-gnu && icecream-create-env sparc-unknown-linux" > >@@ -20,7 +20,7 @@ then > exit 1 > fi > >-# param 1 = CHOST >+# param 1 = prefix > prefix="${1}" > > if [ -z "${prefix}" ] >@@ -51,6 +51,7 @@ if [ "`gcc -dumpmachine`" = "${prefix}" > then > /usr/lib/icecc/icecc-create-env /usr/${prefix}/gcc-bin/${version}/gcc /usr/${prefix}/gcc-bin/${version}/g++ | tee ${tmpfile} > else >+ [[ -z ${CHOST} ]] && export CHOST=`gcc -dumpmachine` > /usr/lib/icecc/icecc-create-env /usr/${CHOST}/${prefix}/gcc-bin/${version}/${prefix}-{gcc,g++} /usr/libexec/gcc/${prefix}/as | tee ${tmpfile} > 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 303545
: 234875