Revert "gnu: gcc-11: Fix build on powerpc64le."

This reverts commit 9900f9e9b8.
This commit is contained in:
Andreas Enge 2023-04-14 11:43:38 +02:00
parent 9900f9e9b8
commit 66b5d33c4f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 1 additions and 29 deletions

View file

@ -2,7 +2,7 @@
;;; Copyright © 2012-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2023 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015-2018, 2020-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Carlos Sánchez de La Lama <csanchezdll@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@ -889,15 +889,6 @@ using compilers other than GCC."
":")
"\nAM_CXXFLAGS = ")))))))
'())
,@(let ((version (package-version gcc)))
(if (and (target-ppc64le?)
(version>=? version "11")
(not (version>=? version "12")))
`((add-after 'unpack 'patch-powerpc
(lambda _
(invoke "patch" "--force" "-p1" "-i"
(search-patch "gcc-11-libstdc++-powerpc.patch")))))
'()))
;; Force rs6000 (i.e., powerpc) libdir to be /lib and not /lib64.
(add-before 'chdir 'fix-rs6000-libdir
(lambda _