mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gcc-arm-none-eabi-4.9: Fix incompatible redeclaration.
* gnu/packages/patches/gcc-4.9-inline.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/embedded.scm (gcc-arm-none-eabi-4.9)[source]: Use it.
This commit is contained in:
parent
01d7fc9d56
commit
e6994d7e3f
3 changed files with 22 additions and 6 deletions
|
@ -98,12 +98,14 @@
|
|||
(base32
|
||||
"113r98kygy8rrjfv2pd3z6zlfzbj543pq7xyq8bgh72c608mmsbr"))
|
||||
|
||||
;; Remove the one patch that doesn't apply to this 4.9 snapshot (the
|
||||
;; patch is for 4.9.4 and later but this svn snapshot is older).
|
||||
(patches (remove (lambda (patch)
|
||||
(string=? (basename patch)
|
||||
"gcc-arm-bug-71399.patch"))
|
||||
(origin-patches (package-source xgcc))))))
|
||||
(patches (cons (search-patch "gcc-4.9-inline.patch")
|
||||
;; Remove the one patch that doesn't apply to this 4.9
|
||||
;; snapshot (the patch is for 4.9.4 and later but this
|
||||
;; svn snapshot is older).
|
||||
(remove (lambda (patch)
|
||||
(string=? (basename patch)
|
||||
"gcc-arm-bug-71399.patch"))
|
||||
(origin-patches (package-source xgcc)))))))
|
||||
(native-inputs
|
||||
`(("flex" ,flex)
|
||||
("gcc@5" ,gcc-5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue