diff options
author | Morgan Smith <Morgan.J.Smith@outlook.com> | 2022-05-25 17:37:32 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-30 16:34:39 +0200 |
commit | 3f31525546647a4936e4692b630efda6afac3715 (patch) | |
tree | f277b76f568d86a0840e33ac69a5bf8f8d4e336a /gnu/packages/cross-base.scm | |
parent | 56dddd05e85c1233870bbf7157bbb6f7972329be (diff) | |
download | guix-3f31525546647a4936e4692b630efda6afac3715.tar.gz |
gnu: GCC: Add cross environment variables patch to GCC 12.
* gnu/packages/patches/gcc-12-cross-environment-variables.patch : New file. * gnu/local.mk (dist_patch_DATA): Add gcc-12-cross-environment-variables.patch. * gnu/packages/cross-base.scm (cross-gcc)[source](patches): Apply the patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r-- | gnu/packages/cross-base.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 93e4f8a445..9c98c923ff 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -242,6 +242,9 @@ target that libc." (append (origin-patches (package-source xgcc)) (append (cond + ((version>=? (package-version xgcc) "12.0") + (search-patches "gcc-12-cross-environment-variables.patch" + "gcc-cross-gxx-include-dir.patch")) ((version>=? (package-version xgcc) "10.0") (search-patches "gcc-10-cross-environment-variables.patch" "gcc-cross-gxx-include-dir.patch")) |