diff options
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 8c286bd975..4ae9092d5a 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -417,8 +417,8 @@ class Python(AutotoolsPackage): config_args.append('--disable-toolbox-glue') if spec.satisfies('%intel', strict=True) and \ - spec.satisfies('@2.7.12:2.8,3.5.2:', strict=True): - config_args.append('--with-icc') + spec.satisfies('@2.7.12:2.8,3.5.2:3.7', strict=True): + config_args.append('--with-icc={0}'.format(spack_cc)) if '+debug' in spec: config_args.append('--with-pydebug') |