From 97bad5e1947a07d96f40205bec1e91463e7bf014 Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Fri, 12 Apr 2024 12:53:01 +0200 Subject: gnu: cross-gcc: Add patch for GCC 13. * gnu/local.mk (dist_patch_DATA): Add gcc-13-cross-system-header-dir.patch. * gnu/packages/cross-base.scm (cross-gcc) : Add patch for GCC 13. * gnu/packages/patches/gcc-13-cross-system-header-dir.patch: New patch. Change-Id: Ib4771ff78222fb7b7df58891d25938d338bd5df8 Signed-off-by: Christopher Baines --- gnu/packages/cross-base.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/cross-base.scm') diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index e62402a09e..36307698a8 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -321,6 +321,10 @@ target that libc." (append (origin-patches (package-source xgcc)) (append (cond + ((version>=? (package-version xgcc) "13.0") + (search-patches "gcc-13-cross-system-header-dir.patch" + "gcc-12-cross-environment-variables.patch" + "gcc-cross-gxx-include-dir.patch")) ((version>=? (package-version xgcc) "12.0") (search-patches "gcc-12-cross-environment-variables.patch" "gcc-cross-gxx-include-dir.patch")) -- cgit v1.2.3