1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: gcc-7: Inherit from gcc-base.

* gnu/packages/gcc.scm (gcc-7): Inherit from gcc-base.
[native-inputs]: Add explicitly.
[inputs]: Add explicitly.

Change-Id: Id982ecb81ec774121858251723341f89507f0332
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Efraim Flashner
2025-07-29 15:06:20 +03:00
parent d32153f736
commit 1956a64494

View File

@@ -761,7 +761,7 @@ Go. It also includes runtime support libraries for these languages.")
(define-public gcc-7
(package
(inherit gcc-6)
(inherit gcc-base)
(version "7.5.0")
(source (origin
(method url-fetch)
@@ -775,6 +775,17 @@ Go. It also includes runtime support libraries for these languages.")
"gcc-7-libsanitizer-fsconfig-command.patch"
"gcc-5.0-libvtv-runpath.patch"
"gcc-libstdc++-newer-gcc.patch"))))
(native-inputs (list perl ;for manpages
texinfo))
(inputs
`(("isl" ,isl)
;; XXX: This gross hack allows us to have libstdc++'s <bits/c++config.h>
;; in the search path, thereby avoiding misconfiguration of libstdc++:
;; <https://bugs.gnu.org/42392>.
("libstdc++" ,(make-libstdc++-headers this-package))
,@(package-inputs gcc-base)))
(description
"GCC is the GNU Compiler Collection. It provides compiler front-ends
for several languages, including C, C++, Objective-C, Fortran, Ada, and Go.