Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 310491 Details for
Bug 414099
dev-libs/nspr: need native nsinstall to complete cross-compiling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
this patch fix cross-compiling issue
nspr-4.9-cross-compiling.patch (text/plain), 607 bytes, created by
DaboD
on 2012-04-30 11:26:33 UTC
(
hide
)
Description:
this patch fix cross-compiling issue
Filename:
MIME Type:
Creator:
DaboD
Created:
2012-04-30 11:26:33 UTC
Size:
607 bytes
patch
obsolete
>diff --git a/dev-libs/nspr/nspr-4.9-r1.ebuild b/dev-libs/nspr/nspr-4.9-r1.ebuild >index 10023b5..52696bf 100644 >--- a/dev-libs/nspr/nspr-4.9-r1.ebuild >+++ b/dev-libs/nspr/nspr-4.9-r1.ebuild >@@ -66,6 +66,13 @@ src_configure() { > > src_compile() { > cd "${S}"/build >+ if tc-is-cross-compiler; then >+ emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \ >+ -C config nsinstall || die "failed to build" >+ mv config/{,native-}nsinstall >+ sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk >+ rm config/nsinstall.o >+ fi > emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build" > } >
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 Raw
Actions:
View
Attachments on
bug 414099
: 310491