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.
This commit is contained in:
Efraim Flashner 2021-03-24 15:42:16 +02:00
parent 0e2b817732
commit 8f0cd6575d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -274,13 +274,10 @@ (define-public gcc-4.7
~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"