diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 765ab794ff..15487a6246 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -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 + ;; in the search path, thereby avoiding misconfiguration of libstdc++: + ;; . + ("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.