graphmap: Fix for aarch64 (#19935)

This commit is contained in:
t-nojiri 2020-11-17 01:41:00 +09:00 committed by GitHub
parent 59d0c17654
commit 793af74eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ def edit(self, spec, prefix):
mkdirp(prefix.bin) mkdirp(prefix.bin)
makefile = FileFilter('Makefile') makefile = FileFilter('Makefile')
makefile.filter('/usr/bin/graphmap', prefix.bin.graphmap) makefile.filter('/usr/bin/graphmap', prefix.bin.graphmap)
if self.spec.target.family == 'aarch64':
makefile.filter('-m64', '')
def build(self, spec, prefix): def build(self, spec, prefix):
make('modules') make('modules')