ffb: prevent the architecture to be always "x86_64" (#17093)

This commit is contained in:
h-denpo
2020-06-16 12:29:35 +09:00
committed by GitHub
parent e5066664ab
commit 01d9063bb1

View File

@@ -107,6 +107,10 @@ def edit(self, spec, prefix):
m.filter(r'-lmpi_f77', '')
os.chmod(makeall, 0o755)
editfile = join_path('lib', 'src', 'Makeall')
m = FileFilter(editfile)
m.filter(r'x86_64-linux', '{0}-linux'.format(spec.target.family))
editfile = join_path('lib', 'src', 'REVOCAP_Refiner-0.4.3', 'OPTIONS')
m = FileFilter(editfile)
m.filter(r'ARCH\s*=.*$', 'ARCH= $(shell arch)-linux')