diffsplice package: remove -m64 on ARM. (#11899)
This commit is contained in:
parent
a718d8af08
commit
dab3026f2f
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue