From 0e881505f19bd9ea9eb543c43483f2ac45a912b3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Oct 2023 21:50:51 +0300 Subject: [PATCH] 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. --- gnu/packages/gcc.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index c39332b349..fb1dda36b3 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -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")