From 7178ee3b63d3419c8bcf86238d2a13c683a3f37c Mon Sep 17 00:00:00 2001 From: t-karatsu <49965247+t-karatsu@users.noreply.github.com> Date: Tue, 11 Jun 2019 00:01:32 +0900 Subject: [PATCH] Define LDFLAGS when using fujitsu compiler (#11669) --- var/spack/repos/builtin/packages/m4/package.py | 3 +++ 1 file changed, 3 insertions(+) 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 @@ def configure_args(self): 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')