Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203264 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
toolchain-fix-multilib-libtool.patch (text/plain), 819 bytes, created by
Peter Alfredsen (RETIRED)
on 2009-09-06 12:36:51 UTC
(
hide
)
Description:
fixup libtool files for secondary arch
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2009-09-06 12:36:51 UTC
Size:
819 bytes
patch
obsolete
>--- toolchain.eclass.orig 2009-09-06 13:54:09.000000000 +0200 >+++ toolchain.eclass 2009-09-06 13:52:31.000000000 +0200 >@@ -2481,17 +2481,23 @@ > # -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 path > local dir=${LIBPATH} > local allarchives=$(cd ./${dir}; echo *.la) > allarchives="\(${allarchives// /\\|}\)" > >- sed -i \ >- -e "/^libdir=/s:=.*:='${dir}':" \ >- ./${dir}/*.la >+ for path in ${dir}{/32,/64,} ; do >+ if [[ -d ${path} ]]; then >+ sed -i \ >+ -e "/^libdir=/s:=.*:='${path}':" \ >+ ./${path}/*.la >+ fi >+ done >+ > sed -i \ > -e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${LIBPATH}/\1:g" \ > $(find ./${PREFIX}/lib* -maxdepth 3 -name '*.la') \ > ./${dir}/*.la >
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