mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: cross-gcc-patches: Avoid patch for GCC 13+.
* gnu/packages/cross-base.scm (cross-gcc-patches): Avoid gcc-4.9.3-mingw-gthr-default.patch patch for GCC 13+ versions since it does not apply. Change-Id: I4bb14d687c53733d77099a761844815900b1266a Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
4dec6e9fb7
commit
ffd1d0c2d4
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,9 @@ (define (cross-gcc-patches xgcc target)
|
|||
;; Patch by Qualcomm needed to build the ath9k-htc firmware.
|
||||
(search-patches "ath9k-htc-firmware-gcc.patch"))
|
||||
((target-mingw? target)
|
||||
(append (search-patches "gcc-4.9.3-mingw-gthr-default.patch")
|
||||
(append (if (not (version>=? (package-version xgcc) "13.0"))
|
||||
(search-patches "gcc-4.9.3-mingw-gthr-default.patch")
|
||||
'())
|
||||
(if (version>=? (package-version xgcc) "7.0")
|
||||
(search-patches "gcc-7-cross-mingw.patch")
|
||||
'())))
|
||||
|
|
Loading…
Reference in a new issue