diff options
-rw-r--r-- | var/spack/repos/builtin/packages/portcullis/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/portcullis/package.py b/var/spack/repos/builtin/packages/portcullis/package.py index aded91acdc..20b20cfbd6 100644 --- a/var/spack/repos/builtin/packages/portcullis/package.py +++ b/var/spack/repos/builtin/packages/portcullis/package.py @@ -45,6 +45,11 @@ class Portcullis(AutotoolsPackage): 'scripts/Makefile.am', string=True ) + # remove -m64 on aarch64 + if self.spec.satisfies('target=aarch64'): + for f in ['lib/Makefile.am', 'src/Makefile.am']: + filter_file('-m64', '', f) + def build(self, spec, prefix): # build manpages make('man') |