portcullis package: remove -m64 on aarch64. (#11905)

GCC on aarch64 dose not support -m64. This patch removes the -m64
flag if target is aarch64.
This commit is contained in:
Toyohisa Kameyama 2019-07-03 02:42:06 +09:00 committed by Peter Scheibel
parent 2709f948fa
commit f1592e339d

View File

@ -45,6 +45,11 @@ def patch(self):
'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')