moab: delete -march=native from generated files (#18137)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
c7096eb537
commit
71748a3b7a
@ -85,6 +85,10 @@ class Moab(AutotoolsPackage):
|
|||||||
|
|
||||||
patch('tools-492.patch', when='@4.9.2')
|
patch('tools-492.patch', when='@4.9.2')
|
||||||
|
|
||||||
|
@run_before('configure')
|
||||||
|
def remove_march_native(self):
|
||||||
|
filter_file('-march=native', '', 'configure', string=True)
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user