guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: gcc-4.7: Unconditionally apply powerpc substitution.


From: guix-commits
Subject: 04/06: gnu: gcc-4.7: Unconditionally apply powerpc substitution.
Date: Wed, 24 Mar 2021 15:01:19 -0400 (EDT)

efraim pushed a commit to branch core-updates
in repository guix.

commit 8f0cd6575dc2f933a86b8b0a3d193813712b1ff0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 24 15:42:16 2021 +0200

    gnu: gcc-4.7: Unconditionally apply powerpc substitution.
    
    * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Adjust 'pre-configure phase
    to always apply powerpc substitution.
---
 gnu/packages/gcc.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 061bd86..b64f933 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -274,13 +274,10 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
 ~a"
                                libc line))))
 
-                  ;; TODO: Make this unconditional in core-updates.
-                  ,@(if (target-powerpc?)
-                      `((when (file-exists? "gcc/config/rs6000")
-                          ;; Force powerpc libdir to be /lib and not /lib64
-                          (substitute* (find-files "gcc/config/rs6000")
-                            (("/lib64") "/lib"))))
-                      `())
+                  (when (file-exists? "gcc/config/rs6000")
+                    ;; Force powerpc libdir to be /lib and not /lib64
+                    (substitute* (find-files "gcc/config/rs6000")
+                      (("/lib64") "/lib")))
 
                   ;; Don't retain a dependency on the build-time sed.
                   (substitute* "fixincludes/fixincl.x"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]