Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 259680 Details for
Bug 329551
[4.6] Add gccgo support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
toolchain.eclass.go.diff
toolchain.eclass.go.diff (text/plain), 2.16 KB, created by
Ryan Hill (RETIRED)
on 2011-01-13 02:25:15 UTC
(
hide
)
Description:
toolchain.eclass.go.diff
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2011-01-13 02:25:15 UTC
Size:
2.16 KB
patch
obsolete
>Index: toolchain.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v >retrieving revision 1.447 >diff -u -r1.447 toolchain.eclass >--- toolchain.eclass 11 Jan 2011 18:53:32 -0000 1.447 >+++ toolchain.eclass 13 Jan 2011 02:21:37 -0000 >@@ -168,6 +168,8 @@ > [[ -n ${SPECS_VER} ]] && IUSE+=" nossp" > fi > [[ ${GCC_BRANCH_VER} == 4.5 ]] && IUSE+=" lto" >+ # TODO - use tc_version_is_at_least after 4.6.0 is released >+ [[ ${GCC_BRANCH_VER} > 4.5 ]] && IUSE+=" go" > fi > fi > >@@ -826,6 +828,12 @@ > > # we dont want to use the installed compiler's specs to build gcc! > unset GCC_SPECS >+ >+ if use nocxx ; then >+ use go && ewarn 'Go requires a C++ compiler, disabled due to USE="nocxx"' >+ use objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="nocxx"' >+ use gcj && ewarn 'GCJ requires a C++ compiler, disabled due to USE="nocxx"' >+ fi > fi > > want_libssp && libc_has_ssp && \ >@@ -1251,6 +1259,7 @@ > is_cxx && GCC_LANG="${GCC_LANG},c++" > is_d && GCC_LANG="${GCC_LANG},d" > is_gcj && GCC_LANG="${GCC_LANG},java" >+ is_go && GCC_LANG="${GCC_LANG},go" > if is_objc || is_objcxx ; then > GCC_LANG="${GCC_LANG},objc" > if tc_version_is_at_least "4.0" ; then >@@ -1829,7 +1838,7 @@ > # These should be symlinks > dodir /usr/bin > cd "${D}"${BINPATH} >- for x in cpp gcc g++ c++ g77 gcj gcjh gfortran ; do >+ for x in cpp gcc g++ c++ g77 gcj gcjh gfortran gccgo ; do > # For some reason, g77 gets made instead of ${CTARGET}-g77... > # this should take care of that > [[ -f ${x} ]] && mv ${x} ${CTARGET}-${x} >@@ -1926,6 +1935,10 @@ > doins "${module}" > rm "${module}" > done >+ >+ # Don't scan .gox files for executable stacks - false positives >+ export QA_EXECSTACK="usr/lib*/go/*/*.gox" >+ export QA_WX_LOAD="usr/lib*/go/*/*.gox" > } > > gcc_slot_java() { >@@ -2480,7 +2493,12 @@ > > is_gcj() { > gcc-lang-supported java || return 1 >- use gcj >+ ! use nocxx && use gcj >+} >+ >+is_go() { >+ gcc-lang-supported go || return 1 >+ ! use nocxx && use go > } > > is_libffi() { >@@ -2495,7 +2513,7 @@ > > is_objcxx() { > gcc-lang-supported 'obj-c++' || return 1 >- use objc++ >+ ! use nocxx && use objc++ > } > > is_ada() {
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 329551
:
259331
|
259332
| 259680