mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: gcc@4.8: Fix building with glibc@2.26.
* gnu/packages/gcc.scm (gcc@4.8)[source]: Add snippet to adjust linux-unwind.h to changes in glibc@2.26.
This commit is contained in:
parent
7a66b68730
commit
7bbc708a4e
1 changed files with 12 additions and 1 deletions
|
@ -363,7 +363,18 @@ (define-public gcc-4.8
|
|||
(base32
|
||||
"08yggr18v373a1ihj0rg2vd6psnic42b518xcgp3r9k81xz1xyr2"))
|
||||
(patches (search-patches "gcc-arm-link-spec-fix.patch"
|
||||
"gcc-fix-texi2pod.patch"))))
|
||||
"gcc-fix-texi2pod.patch"))
|
||||
(modules '((guix build utils)))
|
||||
;; This is required for building with glibc-2.26.
|
||||
;; https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712
|
||||
(snippet
|
||||
'(for-each
|
||||
(lambda (dir)
|
||||
(substitute* (string-append "libgcc/config/"
|
||||
dir "/linux-unwind.h")
|
||||
(("struct ucontext") "ucontext_t")))
|
||||
'("aarch64" "alpha" "bfin" "i386" "m68k"
|
||||
"pa" "sh" "tilepro" "xtensa")))))
|
||||
(supported-systems %supported-systems)
|
||||
(inputs
|
||||
`(("isl" ,isl-0.11)
|
||||
|
|
Loading…
Reference in a new issue