mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 12:00:35 +02:00
gnu: gcc: Adjust for PowerPC.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific substitutions for dynamic linker and start files locations in 'pre-configure' phase. * gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add "gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
0c1b29db3a
commit
fc649d0aad
2 changed files with 20 additions and 4 deletions
|
@ -441,8 +441,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
|||
;; the 'pre-configure phase of our main gcc package, because
|
||||
;; that shared library is not present in this static gcc. See
|
||||
;; <https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00008.html>.
|
||||
(substitute* (find-files "gcc/config"
|
||||
"^gnu-user.*\\.h$")
|
||||
(substitute* (cons "gcc/config/rs6000/sysv4.h"
|
||||
(find-files "gcc/config"
|
||||
"^gnu-user.*\\.h$"))
|
||||
((" -lgcc_s}}") "}}")))
|
||||
,phases)))))
|
||||
(native-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue