We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1849b commit f8c2e1fCopy full SHA for f8c2e1f
var/spack/repos/builtin/packages/libffi/package.py
@@ -32,4 +32,9 @@ def configure_args(self):
32
# Spack adds its own target flags, so tell libffi not to
33
# second-guess us
34
args.append('--without-gcc-arch')
35
+ # At the moment, build scripts accept 'aarch64-apple-darwin'
36
+ # but not 'arm64-apple-darwin'.
37
+ # See: https://github.com/libffi/libffi/issues/571
38
+ if self.spec.satisfies('platform=darwin target=aarch64:'):
39
+ args.append('--build=aarch64-apple-darwin')
40
return args
0 commit comments