Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 697809 Details for
Bug 633712
dev-lang/python fails to cross-compile: libffi not found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add --sysroot option to CFLAGS/LDFLAGS
python-3.8.8-sysroot.patch (text/plain), 593 bytes, created by
Alex Kovryhin
on 2021-04-05 20:59:40 UTC
(
hide
)
Description:
patch to add --sysroot option to CFLAGS/LDFLAGS
Filename:
MIME Type:
Creator:
Alex Kovryhin
Created:
2021-04-05 20:59:40 UTC
Size:
593 bytes
patch
obsolete
>diff --git a/dev-lang/python/python-3.8.8.ebuild b/dev-lang/python/python-3.8.8.ebuild >index 9ef8a08637b..55e8a7cc4ae 100644 >--- a/dev-lang/python/python-3.8.8.ebuild >+++ b/dev-lang/python/python-3.8.8.ebuild >@@ -145,6 +145,11 @@ src_configure() { > # Fix implicit declarations on cross and prefix builds. Bug #674070. > use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw > >+ if [ -n "${ESYSROOT}" ]; then >+ append-cflags --sysroot="${ESYSROOT}" >+ append-ldflags --sysroot="${ESYSROOT}" >+ fi >+ > local dbmliborder > if use gdbm; then > dbmliborder+="${dbmliborder:+:}gdbm"
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 633712
:
498050
|
498052
| 697809