Skip to content
Snippets Groups Projects
Unverified Commit 71b7b353 authored by ketsubouchi's avatar ketsubouchi Committed by GitHub
Browse files

ocaml: fix building with Fujitsu compilers (#17918)

parent 060731a8
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,17 @@ def install(self, spec, prefix): ...@@ -44,6 +44,17 @@ def install(self, spec, prefix):
if self.spec.satisfies('~force-safe-string'): if self.spec.satisfies('~force-safe-string'):
base_args += ['--disable-force-safe-string'] base_args += ['--disable-force-safe-string']
# This patch is aarch64-linux-fj only.
# However, similar patch is needed for other arch/OS/compiler
# to use correct assembler. (See #17918)
if self.spec.satisfies('%fj'):
filter_file(
'${toolpref}clang -c -Wno-trigraphs',
spack_cc + ' -c',
'configure',
string=True
)
configure(*(base_args)) configure(*(base_args))
make('world.opt') make('world.opt')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment