gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu.

Fixes <https://bugs.gnu.org/49417>.
Reported by Maxime Devos <maximedevos@telenet.be>.

* gnu/packages/patches/glibc-cross-objcopy.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
This commit is contained in:
Ludovic Courtès 2021-07-07 18:58:20 +02:00
parent 68b0e0d511
commit 145a5a5797
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 161 additions and 0 deletions

View file

@ -692,6 +692,7 @@ the store.")
"glibc-reinstate-prlimit64-fallback.patch"
"glibc-supported-locales.patch"
"glibc-cross-objdump.patch"
"glibc-cross-objcopy.patch" ;must come 2nd
"glibc-hurd-clock_t_centiseconds.patch"
"glibc-hurd-clock_gettime_monotonic.patch"
"glibc-hurd-mach-print.patch"