gnu: gcj: Inherit source field from "gcc".

* gnu/packages/gcc.scm (gcj)[source]: Inherit source from "gcc" package.
master
Ricardo Wurmus 2016-11-27 19:00:57 +01:00
parent bac6409970
commit 1bf5a7e920
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 9 deletions

View File

@ -522,15 +522,9 @@ as the 'native-search-paths' field."
(package (inherit gcc)
(name "gcj")
(version (package-version gcc))
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gcc/gcc-"
version "/gcc-" version ".tar.bz2"))
(sha256
(base32
"0zmnm00d2a1hsd41g34bhvxzvxisa2l584q3p447bd91lfjv4ci3"))
(patches (cons (search-patch "gcj-arm-mode.patch")
(origin-patches (package-source gcc))))))
(source (origin (inherit (package-source gcc))
(patches (cons (search-patch "gcj-arm-mode.patch")
(origin-patches (package-source gcc))))))
(inputs
`(("fastjar" ,fastjar)
("perl" ,perl)