diff options
author | Ondřej Čertík <ondrej@certik.us> | 2017-10-13 11:20:49 -0600 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-10-13 11:20:49 -0600 |
commit | e76cfbbfd8707716a02f9849fbba962c20f0c37f (patch) | |
tree | 2b6072c85a790a711c1807be081af3194aa717d3 /var | |
parent | 8ffe18f1dc24ff792a65a29bef38bbbb8825bdee (diff) | |
download | spack-e76cfbbfd8707716a02f9849fbba962c20f0c37f.tar.gz spack-e76cfbbfd8707716a02f9849fbba962c20f0c37f.tar.bz2 spack-e76cfbbfd8707716a02f9849fbba962c20f0c37f.tar.xz spack-e76cfbbfd8707716a02f9849fbba962c20f0c37f.zip |
Fix m4 to compile with Intel (#5728)
Fixes #5705.
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)) |