velvet: remove -m64 on aarch64. (#11984)
This commit is contained in:
parent
ff728bd06c
commit
ea9ac3ee52
@ -17,6 +17,11 @@ class Velvet(MakefilePackage):
|
|||||||
|
|
||||||
depends_on('zlib')
|
depends_on('zlib')
|
||||||
|
|
||||||
|
def edit(self, spec, prefix):
|
||||||
|
if spec.satisfies('target=aarch64'):
|
||||||
|
makefile = FileFilter('Makefile')
|
||||||
|
makefile.filter('-m64', '')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
install('velvetg', prefix.bin)
|
install('velvetg', prefix.bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user