diff options
| -rw-r--r-- | gnu/packages/cross-base.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 2d79e0acf69..e62402a09ed 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm | |||
| @@ -250,7 +250,9 @@ base compiler and using LIBC (which may be either a libc package or #f.)" | |||
| 250 | ;; Patch by Qualcomm needed to build the ath9k-htc firmware. | 250 | ;; Patch by Qualcomm needed to build the ath9k-htc firmware. |
| 251 | (search-patches "ath9k-htc-firmware-gcc.patch")) | 251 | (search-patches "ath9k-htc-firmware-gcc.patch")) |
| 252 | ((target-mingw? target) | 252 | ((target-mingw? target) |
| 253 | (append (search-patches "gcc-4.9.3-mingw-gthr-default.patch") | 253 | (append (if (not (version>=? (package-version xgcc) "13.0")) |
| 254 | (search-patches "gcc-4.9.3-mingw-gthr-default.patch") | ||
| 255 | '()) | ||
| 254 | (if (version>=? (package-version xgcc) "7.0") | 256 | (if (version>=? (package-version xgcc) "7.0") |
| 255 | (search-patches "gcc-7-cross-mingw.patch") | 257 | (search-patches "gcc-7-cross-mingw.patch") |
| 256 | '()))) | 258 | '()))) |
