gnu: gcc@4.8: Fix libsanitizer cross-compilation.

This patch is modified from the original patch targeting gcc@5.

* gnu/packages/patches/gcc-asan-missing-include.patch: New file.
* gnu/packages/gcc.scm (gcc@4.8)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
Ludovic Courtès 2017-06-08 00:26:10 +02:00 committed by Efraim Flashner
parent 7bbc708a4e
commit 8e7ec29df4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 22 additions and 0 deletions

View file

@ -363,6 +363,7 @@ Go. It also includes runtime support libraries for these languages.")
(base32
"08yggr18v373a1ihj0rg2vd6psnic42b518xcgp3r9k81xz1xyr2"))
(patches (search-patches "gcc-arm-link-spec-fix.patch"
"gcc-asan-missing-include.patch"
"gcc-fix-texi2pod.patch"))
(modules '((guix build utils)))
;; This is required for building with glibc-2.26.