gnu: gcc-11: Fix build on powerpc64le.

* gnu/packages/patches/gcc-11-libstdc++-powerpc.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/gcc.scm (make-libstdc++): Apply patch for gcc versions >= 11
and < 12 on ppc64le.

Co-authored-by: Christopher Baines <mail@cbaines.net>
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Andreas Enge 2023-04-13 11:46:47 +02:00 committed by Christopher Baines
parent 66b5d33c4f
commit 31dd526e1c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
3 changed files with 39 additions and 2 deletions