diff options
author | t-karatsu <49965247+t-karatsu@users.noreply.github.com> | 2019-06-11 00:01:32 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-06-10 11:01:32 -0400 |
commit | 7178ee3b63d3419c8bcf86238d2a13c683a3f37c (patch) | |
tree | 614633b4c2a02b7a31b3c7ce64767cb93d3a74ca | |
parent | 58b797632e62b78ada84ae2ba2ddc274411c6f23 (diff) | |
download | spack-7178ee3b63d3419c8bcf86238d2a13c683a3f37c.tar.gz spack-7178ee3b63d3419c8bcf86238d2a13c683a3f37c.tar.bz2 spack-7178ee3b63d3419c8bcf86238d2a13c683a3f37c.tar.xz spack-7178ee3b63d3419c8bcf86238d2a13c683a3f37c.zip |
Define LDFLAGS when using fujitsu compiler (#11669)
-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 71ed3d1da4..c86fcbefdb 100644 --- a/var/spack/repos/builtin/packages/m4/package.py +++ b/var/spack/repos/builtin/packages/m4/package.py @@ -40,6 +40,9 @@ class M4(AutotoolsPackage): if spec.satisfies('%arm') and not spec.satisfies('platform=darwin'): args.append('LDFLAGS=-rtlib=compiler-rt') + if spec.satisfies('%fj') and not spec.satisfies('platform=darwin'): + args.append('LDFLAGS=-rtlib=compiler-rt') + if spec.satisfies('%intel'): args.append('CFLAGS=-no-gcc') |