From 8f0cd6575dc2f933a86b8b0a3d193813712b1ff0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 24 Mar 2021 15:42:16 +0200 Subject: 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(-) (limited to 'gnu/packages/gcc.scm') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 061bd86261..b64f933191 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" -- cgit 1.4.1