Update target comparison semantic for a few packages (#12947)

Use spec.target.family instead of spec.architecture.target
This commit is contained in:
Massimiliano Culpo
2019-09-26 10:25:12 +02:00
committed by GitHub
parent 31e5318c24
commit 90236bc9f5
6 changed files with 14 additions and 14 deletions

View File

@@ -105,7 +105,7 @@ def configure_args(self):
'--without-boost',
]
if 'aarch64' not in spec.architecture.target.lower():
if spec.target.family != 'aarch64':
config_args.append('--with-64')
if '+static' in spec:
config_args.append('--with-static')