Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103975 Details for
Bug 158067
[PATCH] Allow libtool to build a cross-compile wrapper
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild patch
libtool-ebuild.patch (text/plain), 1.02 KB, created by
Diego Elio Pettenò (RETIRED)
on 2006-12-13 12:04:04 UTC
(
hide
)
Description:
Ebuild patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2006-12-13 12:04:04 UTC
Size:
1.02 KB
patch
obsolete
>--- /home/flame/devel/gentoo-x86/sys-devel/libtool/libtool-1.5.22.ebuild 2006-12-08 20:24:35.985449278 +0100 >+++ cross-arm-carel-linux-gnu/libtool/libtool-1.5.22.ebuild 2006-12-13 20:23:26.583810607 +0100 >@@ -127,11 +127,31 @@ > > src_compile() { > lt_setup >- econf || die >+ local myconf >+ >+ if [[ ${CATEGORY/cross-/} != ${CATEGORY} ]]; then >+ local ctarget=${CATEGORY/cross-/} >+ myconf="--program-prefix=${ctarget}- --disable-ltdl-install --build=${CHOST} --host=${ctarget} --target=${ctarget}" >+ >+ # We won't build any C code, so just ignore these >+ unset CFLAGS LDFLAGS >+ fi >+ >+ econf ${myconf} || die > emake || die > } > > src_install() { >+ # When building for crosscompiling we care only about >+ # the libtool script (that has the defaults of the cross >+ # compiler rather than system's >+ if [[ ${CATEGORY/cross-/} != ${CATEGORY} ]]; then >+ local ctarget=${CATEGORY/cross-/} >+ newbin libtool ${ctarget}-libtool >+ >+ return 0 >+ fi >+ > make DESTDIR="${D}" install || die > dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS >
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 158067
: 103975