summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortakanori-ihara <62980219+takanori-ihara@users.noreply.github.com>2020-06-02 18:07:48 +0900
committerGitHub <noreply@github.com>2020-06-02 11:07:48 +0200
commitb60ab6eefdfe584105ae97caf15a0e72c4ab2457 (patch)
tree625d421a813d2417ea0c2349064f5021c21a1f86
parentc7851f896cb6827cf119e82d4f4c37ab65c17a28 (diff)
downloadspack-b60ab6eefdfe584105ae97caf15a0e72c4ab2457.tar.gz
spack-b60ab6eefdfe584105ae97caf15a0e72c4ab2457.tar.bz2
spack-b60ab6eefdfe584105ae97caf15a0e72c4ab2457.tar.xz
spack-b60ab6eefdfe584105ae97caf15a0e72c4ab2457.zip
ruby: fixed build with Fujitsu compilers (#16889)
-rw-r--r--var/spack/repos/builtin/packages/ruby/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ruby/package.py b/var/spack/repos/builtin/packages/ruby/package.py
index b2e2c6f6fa..820e32e20b 100644
--- a/var/spack/repos/builtin/packages/ruby/package.py
+++ b/var/spack/repos/builtin/packages/ruby/package.py
@@ -61,6 +61,8 @@ class Ruby(AutotoolsPackage):
args.append("--with-readline-dir=%s"
% self.spec['readline'].prefix)
args.append('--with-tk=%s' % self.spec['tk'].prefix)
+ if self.spec.satisfies("%fj"):
+ args.append('--disable-dtrace')
return args
def setup_dependent_build_environment(self, env, dependent_spec):