diff --git a/var/spack/repos/builtin/packages/mpfr/package.py b/var/spack/repos/builtin/packages/mpfr/package.py index 3e531ef246..4bc91e05f1 100644 --- a/var/spack/repos/builtin/packages/mpfr/package.py +++ b/var/spack/repos/builtin/packages/mpfr/package.py @@ -42,3 +42,9 @@ class Mpfr(AutotoolsPackage): patch('vasprintf.patch', when='@3.1.5') patch('strtofr.patch', when='@3.1.5') + + def configure_args(self): + args = [ + '--with-gmp=' + self.spec['gmp'].prefix, + ] + return args