Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 310443 Details for
Bug 414019
dev-libs/elfutils: fix cross-compiling issue
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch fix cross-compiling issue
elfutils-0.153-cross-compile.patch (text/plain), 1.02 KB, created by
DaboD
on 2012-04-29 18:32:16 UTC
(
hide
)
Description:
this patch fix cross-compiling issue
Filename:
MIME Type:
Creator:
DaboD
Created:
2012-04-29 18:32:16 UTC
Size:
1.02 KB
patch
obsolete
>diff --git a/dev-libs/elfutils/elfutils-0.153-r1.ebuild b/dev-libs/elfutils/elfutils-0.153-r1.ebuild >index b07b8c3..8d06302 100644 >--- a/dev-libs/elfutils/elfutils-0.153-r1.ebuild >+++ b/dev-libs/elfutils/elfutils-0.153-r1.ebuild >@@ -4,7 +4,7 @@ > > EAPI="3" > >-inherit eutils >+inherit eutils toolchain-funcs > > DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" > HOMEPAGE="https://fedorahosted.org/elfutils/" >@@ -47,6 +47,22 @@ src_configure() { > $(use_with lzma) > } > >+src_compile() { >+ if tc-is-cross-compiler; then >+ make CC=$(tc-getBUILD_CC) -C lib libeu.a >+ make CC=$(tc-getBUILD_CC) -C libcpu i386_gendis i386_dis.h x86_64_dis.h >+ mv libcpu/{,native_}i386_gendis >+ mv libcpu/i386_dis.h{,.bak} >+ mv libcpu/x86_64_dis.h{,.bak} >+ sed -e 's#\./i386_gendis#\./native_i386_gendis#' -i libcpu/Makefile >+ make clean >+ mv libcpu/i386_dis.h{.bak,} >+ mv libcpu/x86_64_dis.h{.bak,} >+ fi >+ >+ emake >+} >+ > src_test() { > env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ > LC_ALL="C" \
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 414019
: 310443