ffb: prevent the architecture to be always "x86_64" (#17093)
This commit is contained in:
parent
e5066664ab
commit
01d9063bb1
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user