gnu: cross-base: Apply gcc 6 patch to gcc >= 6.
* gnu/packages/cross-base.scm (cross-gcc): Apply gcc 6 patch to gcc >= 6.
This commit is contained in:
parent
f074f5e88c
commit
e32d302474
|
@ -202,7 +202,9 @@ target that libc."
|
||||||
(patches
|
(patches
|
||||||
(append
|
(append
|
||||||
(origin-patches (package-source xgcc))
|
(origin-patches (package-source xgcc))
|
||||||
(cons (search-patch "gcc-cross-environment-variables.patch")
|
(cons (if (version>=? (package-version xgcc) "6.0")
|
||||||
|
(search-patch "gcc-6-cross-environment-variables.patch")
|
||||||
|
(search-patch "gcc-cross-environment-variables.patch"))
|
||||||
(cross-gcc-patches target))))
|
(cross-gcc-patches target))))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
|
|
Loading…
Reference in New Issue