summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py
index df357dae7a..04c0e31ac0 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -113,6 +113,15 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# https://gcc.gnu.org/install/prerequisites.html
depends_on('gmp@4.3.2:')
+ # mawk is not sufficient for go support
+ depends_on('gawk@3.1.5:', type='build')
+ depends_on('texinfo@4.7:', type='build')
+ depends_on('libtool', type='build')
+ # dependencies required for git versions
+ depends_on('m4@1.4.6:', when='@master', type='build')
+ depends_on('automake@1.15.1:', when='@master', type='build')
+ depends_on('autoconf@2.69:', when='@master', type='build')
+
# GCC 7.3 does not compile with newer releases on some platforms, see
# https://github.com/spack/spack/issues/6902#issuecomment-433030376
depends_on('mpfr@2.4.2:3.1.6', when='@:9.9')