gnu: make-libstdc++: Adjust order of phases.

* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Move custom
'fix-rs6000-libdir phase to after the 'unpack phase.
This commit is contained in:
Efraim Flashner 2023-10-16 21:50:51 +03:00 committed by Ludovic Courtès
parent 29d5767343
commit 0e881505f1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1006,7 +1006,7 @@ (define-public (make-libstdc++ gcc)
(assoc-ref inputs "powerpc64le-patch"))))))
'()))
;; Force rs6000 (i.e., powerpc) libdir to be /lib and not /lib64.
(add-before 'chdir 'fix-rs6000-libdir
(add-after 'unpack 'fix-rs6000-libdir
(lambda _
(when (file-exists? "gcc/config/rs6000")
(substitute* (find-files "gcc/config/rs6000")