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:
parent
0e2b817732
commit
8f0cd6575d
1 changed files with 4 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue