diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hpgmg/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hpgmg/package.py b/var/spack/repos/builtin/packages/hpgmg/package.py index b9c33c118a..d4dd9e1f77 100644 --- a/var/spack/repos/builtin/packages/hpgmg/package.py +++ b/var/spack/repos/builtin/packages/hpgmg/package.py @@ -68,7 +68,7 @@ class Hpgmg(Package): 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: |