diff options
author | Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> | 2024-04-12 12:53:01 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-04-15 10:09:36 +0100 |
commit | 97bad5e1947a07d96f40205bec1e91463e7bf014 (patch) | |
tree | 4ec3b714c5adae69ae6a48c595841335025cafd0 /gnu/packages/cross-base.scm | |
parent | ffd1d0c2d486b9de35706ca73a4e89177114e4de (diff) | |
download | guix-97bad5e1947a07d96f40205bec1e91463e7bf014.tar.gz guix-97bad5e1947a07d96f40205bec1e91463e7bf014.zip |
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) <source>: 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 <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r-- | gnu/packages/cross-base.scm | 4 |
1 files changed, 4 insertions, 0 deletions
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")) |