Skip to content

Commit

Permalink
diffsplice package: remove -m64 on ARM. (spack#11899)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyohisa Kameyama authored and scheibelp committed Jul 9, 2019
1 parent a718d8a commit dab3026
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/diffsplice/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit dab3026

Please sign in to comment.