Skip to content

Commit

Permalink
Define LDFLAGS when using fujitsu compiler (spack#11669)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-karatsu authored and adamjstewart committed Jun 10, 2019
1 parent 58b7976 commit 7178ee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/m4/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 7178ee3

Please sign in to comment.