Archived
1
0
Fork 0

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 @@ where the OS part is overloaded to denote a specific ABI---into GCC
~a" ~a"
libc line)))) libc line))))
;; TODO: Make this unconditional in core-updates. (when (file-exists? "gcc/config/rs6000")
,@(if (target-powerpc?)
`((when (file-exists? "gcc/config/rs6000")
;; Force powerpc libdir to be /lib and not /lib64 ;; Force powerpc libdir to be /lib and not /lib64
(substitute* (find-files "gcc/config/rs6000") (substitute* (find-files "gcc/config/rs6000")
(("/lib64") "/lib")))) (("/lib64") "/lib")))
`())
;; Don't retain a dependency on the build-time sed. ;; Don't retain a dependency on the build-time sed.
(substitute* "fixincludes/fixincl.x" (substitute* "fixincludes/fixincl.x"