diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/m4/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py index 5c9655d7e3..2523745e58 100644 --- a/var/spack/repos/builtin/packages/m4/package.py +++ b/var/spack/repos/builtin/packages/m4/package.py @@ -51,6 +51,9 @@ class M4(AutotoolsPackage): if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'): args.append('CFLAGS=-rtlib=compiler-rt') + if spec.satisfies('%intel'): + args.append('CFLAGS=-no-gcc') + if '+sigsegv' in spec: args.append('--with-libsigsegv-prefix={0}'.format( spec['libsigsegv'].prefix)) |