summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/diffsplice/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/diffsplice/package.py b/var/spack/repos/builtin/packages/diffsplice/package.py
index 0f3b0ea12b..f213958b6e 100644
--- a/var/spack/repos/builtin/packages/diffsplice/package.py
+++ b/var/spack/repos/builtin/packages/diffsplice/package.py
@@ -17,6 +17,11 @@ class Diffsplice(MakefilePackage):
version('0.1.2beta', 'a1df6e0b50968f2c229d5d7f97327336')
version('0.1.1', 'be90e6c072402d5aae0b4e2cbb8c10ac')
+ def edit(self, spec, prefix):
+ if spec.satisfies('target=aarch64'):
+ makefile = FileFilter(join_path(self.build_directory, 'Makefile'))
+ makefile.filter('-m64', '')
+
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('diffsplice', prefix.bin)