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.master
parent
0e2b817732
commit
8f0cd6575d
|
@ -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?)
|
;; Force powerpc libdir to be /lib and not /lib64
|
||||||
`((when (file-exists? "gcc/config/rs6000")
|
(substitute* (find-files "gcc/config/rs6000")
|
||||||
;; Force powerpc libdir to be /lib and not /lib64
|
(("/lib64") "/lib")))
|
||||||
(substitute* (find-files "gcc/config/rs6000")
|
|
||||||
(("/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"
|
||||||
|
|
Reference in New Issue