summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort-nojiri <68096132+t-nojiri@users.noreply.github.com>2020-07-21 15:57:09 +0900
committerGitHub <noreply@github.com>2020-07-20 23:57:09 -0700
commit40e2a414775edd7bd4690df05e5be472c1a85e5b (patch)
treeaecb8fd2686871abafa79feda6f35620e5a5b7c3
parentf168d63586ab090f00e018f296254286e4a1da22 (diff)
downloadspack-40e2a414775edd7bd4690df05e5be472c1a85e5b.tar.gz
spack-40e2a414775edd7bd4690df05e5be472c1a85e5b.tar.bz2
spack-40e2a414775edd7bd4690df05e5be472c1a85e5b.tar.xz
spack-40e2a414775edd7bd4690df05e5be472c1a85e5b.zip
aegean (package): remove -m64 on aarch64 (#17615)
-rw-r--r--var/spack/repos/builtin/packages/aegean/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/aegean/package.py b/var/spack/repos/builtin/packages/aegean/package.py
index 9198280e9a..eea46740a0 100644
--- a/var/spack/repos/builtin/packages/aegean/package.py
+++ b/var/spack/repos/builtin/packages/aegean/package.py
@@ -21,4 +21,7 @@ class Aegean(MakefilePackage):
def edit(self, spec, prefix):
makefile = FileFilter('Makefile')
+ if spec.target.family == 'aarch64':
+ makefile.filter('-m64', '')
+
makefile.filter('/usr/local', prefix)