summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2019-05-05 14:35:13 +0000
committerLudovic Courtès <ludo@gnu.org>2019-05-06 10:22:00 +0200
commit0e293f75f1e41876a54f87c131d4a37408b70f56 (patch)
treee669f52bc1ecd76ab968f1f29d6239e1e0fe94ba /gnu/local.mk
parent83b0a7f41bccb7b46f1d443e80a22c61a3ff92bc (diff)
downloadguix-0e293f75f1e41876a54f87c131d4a37408b70f56.tar.gz
gnu: gcc@9: Fix limits.h include for cross builds.
This allows us to supply gcc-9 as an optional argument to cross-gcc,
successfully constructing gcc-9-based cross-compilers.

* gnu/packages/gcc.scm (gcc-9)[source](patches): Add
  "gcc-9-asan-fix-limits-include.patch".
* gnu/packages/patches/gcc-9-asan-fix-limits-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index d67a2a5151..eabf07e557 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -817,6 +817,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/gcc-6-source-date-epoch-2.patch		\
   %D%/packages/patches/gcc-8-cross-environment-variables.patch	\
   %D%/packages/patches/gcc-8-strmov-store-file-names.patch	\
+  %D%/packages/patches/gcc-9-asan-fix-limits-include.patch	\
   %D%/packages/patches/gcc-9-strmov-store-file-names.patch	\
   %D%/packages/patches/gd-CVE-2018-5711.patch			\
   %D%/packages/patches/gd-CVE-2018-1000222.patch		\