Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203315 Details for
Bug 283761
sys-devel/gcc[multilib] creates bad .la files for secondary arch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixup libtool files for secondary arch v2
toolchain-fix-multilib-libtool-v2.patch (text/plain), 1.16 KB, created by
Peter Alfredsen (RETIRED)
on 2009-09-06 20:04:15 UTC
(
hide
)
Description:
fixup libtool files for secondary arch v2
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2009-09-06 20:04:15 UTC
Size:
1.16 KB
patch
obsolete
>--- toolchain.eclass.orig 2009-08-27 00:08:38.000000000 +0200 >+++ toolchain.eclass 2009-09-06 21:15:11.000000000 +0200 >@@ -1964,22 +1964,21 @@ > if [[ -n ${files} ]] ; then > mv ${files} "${TODIR}" > fi > fi > done >+ fix_libtool_libdir_paths "${LIBPATH}/${MULTIDIR}" > done > > # We remove directories separately to avoid this case: > # mv SRC/lib/../lib/*.o DEST > # rmdir SRC/lib/../lib/ > # mv SRC/lib/../lib32/*.o DEST # Bork > for FROMDIR in ${removedirs} ; do > rmdir "${D}"${FROMDIR} >& /dev/null > done > find "${D}" -type d | xargs rmdir >& /dev/null >- >- fix_libtool_libdir_paths > } > > #----<< src_* >>---- > > #---->> unorganized crap in need of refactoring follows >@@ -2481,13 +2480,15 @@ > # -are-, and not where they -used- to be. also, any dependencies we have > # on our own .la files need to be updated. > fix_libtool_libdir_paths() { > pushd "${D}" >/dev/null > >- local dir=${LIBPATH} >- local allarchives=$(cd ./${dir}; echo *.la) >+ pushd "${1}" >/dev/null >+ local dir="${PWD#${D}}" >+ local allarchives=$(echo *.la) > allarchives="\(${allarchives// /\\|}\)" >+ popd >/dev/null > > sed -i \ > -e "/^libdir=/s:=.*:='${dir}':" \ > ./${dir}/*.la > sed -i \
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 283761
:
203264
|
203302
| 203315 |
207480
|
207970
|
207971
|
207973