summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/velvet/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/velvet/package.py b/var/spack/repos/builtin/packages/velvet/package.py
index dfe4641c0c..9b6714fe90 100644
--- a/var/spack/repos/builtin/packages/velvet/package.py
+++ b/var/spack/repos/builtin/packages/velvet/package.py
@@ -17,6 +17,11 @@ class Velvet(MakefilePackage):
depends_on('zlib')
+ def edit(self, spec, prefix):
+ if spec.satisfies('target=aarch64'):
+ makefile = FileFilter('Makefile')
+ makefile.filter('-m64', '')
+
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('velvetg', prefix.bin)