diff --git a/var/spack/repos/builtin/packages/quantum-espresso/package.py b/var/spack/repos/builtin/packages/quantum-espresso/package.py index 11a6fe020a..b9d1b5eecb 100644 --- a/var/spack/repos/builtin/packages/quantum-espresso/package.py +++ b/var/spack/repos/builtin/packages/quantum-espresso/package.py @@ -170,6 +170,7 @@ def install(self, spec, prefix): options.append('CC={0}'.format(env['SPACK_CC'])) options.append('F77={0}'.format(env['SPACK_F77'])) + options.append('F90={0}'.format(env['SPACK_FC'])) if '+openmp' in spec: options.append('--enable-openmp')