diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 8362c9fac1..6eead029cd 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -734,12 +734,7 @@ (define %generic-search-paths (define-public gfortran (hidden-package - (custom-gcc (package - (inherit gcc) - ;; XXX: Remove LIBSTDC++-HEADERS from the inputs just to - ;; avoid a rebuild of all the GFORTRAN dependents. - ;; TODO: Remove this hack on the next rebuild cycle. - (inputs (alist-delete "libstdc++" (package-inputs gcc)))) + (custom-gcc gcc "gfortran" '("fortran") %generic-search-paths)))