diff --git a/var/spack/repos/builtin/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py
index 3ce784c6c19e9790f1a42c348bdd4b9563993c05..14ce08473dc83248c865e3ad624a8029a62f72d9 100644
--- a/var/spack/repos/builtin/packages/gmp/package.py
+++ b/var/spack/repos/builtin/packages/gmp/package.py
@@ -40,8 +40,14 @@ class Gmp(Package):
     depends_on('m4', type='build')
 
     def install(self, spec, prefix):
-        configure('--prefix={0}'.format(prefix),
-                  '--enable-cxx')
+        config_args = ['--prefix=' + prefix,
+                       '--enable-cxx']
+
+        # We need this flag if we want all the following checks to pass.
+        if spec.compiler.name == 'intel':
+            config_args.append('CXXFLAGS=-no-ftz')
+
+        configure(*config_args)
 
         make()
         make('check')