hpgmp package: Don't add cpu=native on ARM when using gcc 5.x or before (#12034)
This commit is contained in:
parent
b8b2fa226e
commit
5f716b7ffa
@ -68,7 +68,7 @@ def configure_args(self):
|
||||
cflags.append('-O3')
|
||||
if self.compiler.target in ['x86_64']:
|
||||
cflags.append('-march=native')
|
||||
else:
|
||||
elif not self.spec.satisfies('target=aarch64 %gcc@:5.9'):
|
||||
cflags.append('-mcpu=native')
|
||||
cflags.append('-mtune=native')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user