dialign-tx: build on ARM. (#12210)

This commit is contained in:
Toyohisa Kameyama 2019-08-03 09:02:36 +09:00 committed by Adam J. Stewart
parent 474bf18853
commit 3fc5a08f5b

View File

@ -24,6 +24,8 @@ def edit(self, spec, prefix):
makefile = FileFilter('Makefile')
makefile.filter(' -march=i686 ', ' ')
makefile.filter('CC=gcc', 'CC=%s' % spack_cc)
if spec.satisfies('target=aarch64'):
makefile.filter('-mfpmath=sse -msse -mmmx', ' ')
def install(self, spec, prefix):
mkdirp(prefix.bin)