diffsplice package: remove -m64 on ARM. (#11899)

This commit is contained in:
Toyohisa Kameyama 2019-07-09 09:13:49 +09:00 committed by Peter Scheibel
parent a718d8af08
commit dab3026f2f

View file

@ -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)