[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: make-libstdc++: Unconditionally apply powerpc substitution.
From: |
guix-commits |
Subject: |
05/06: gnu: make-libstdc++: Unconditionally apply powerpc substitution. |
Date: |
Wed, 24 Mar 2021 15:01:20 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 6dd338ee1b02503f0baf9480065ae69ba520154e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 24 15:44:24 2021 +0200
gnu: make-libstdc++: Unconditionally apply powerpc substitution.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Use modify-phases.
Apply powerpc directory substitution on all architectures.
---
gnu/packages/gcc.scm | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index b64f933..13d6b20 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -596,25 +596,16 @@ using compilers other than GCC."
(arguments
`(#:out-of-source? #t
#:phases
- ;; TODO: Use the target-powerpc arm for everyone.
- ,(if (target-powerpc?)
- `(modify-phases %standard-phases
- ;; Force rs6000 (i.e., powerpc) libdir to be /lib and not /lib64.
- (add-before 'chdir 'fix-rs6000-libdir
- (lambda _
- (when (file-exists? "gcc/config/rs6000")
- (substitute* (find-files "gcc/config/rs6000")
- (("/lib64") "/lib")))
- #t))
- (add-before 'configure 'chdir
- (lambda _
- (chdir "libstdc++-v3")
- #t)))
- `(alist-cons-before 'configure 'chdir
- (lambda _
- (chdir "libstdc++-v3")
- #t)
- %standard-phases))
+ (modify-phases %standard-phases
+ ;; Force rs6000 (i.e., powerpc) libdir to be /lib and not /lib64.
+ (add-before 'chdir 'fix-rs6000-libdir
+ (lambda _
+ (when (file-exists? "gcc/config/rs6000")
+ (substitute* (find-files "gcc/config/rs6000")
+ (("/lib64") "/lib")))))
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "libstdc++-v3"))))
#:configure-flags `("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- branch core-updates created (now f08b070), guix-commits, 2021/03/24
- 02/06: Merge remote-tracking branch 'origin/master' into core-updates, guix-commits, 2021/03/24
- 05/06: gnu: make-libstdc++: Unconditionally apply powerpc substitution.,
guix-commits <=
- 01/06: gnu: python-pygments: Update to 2.8.1 [security fixes]., guix-commits, 2021/03/24
- 04/06: gnu: gcc-4.7: Unconditionally apply powerpc substitution., guix-commits, 2021/03/24
- 06/06: gnu: findutils-boot0: Fix test suite on some systems., guix-commits, 2021/03/24
- 03/06: gnu: glibc: Absorb powerpc patch., guix-commits, 2021/03/24