Autotools build system to patch config.guess based on a range check

This commit is contained in:
Massimiliano Culpo 2019-10-11 10:52:53 +02:00 committed by Todd Gamblin
parent 8dd95c1705
commit f8a4a3802c

View file

@ -87,8 +87,9 @@ def _do_patch_config_guess(self):
config.guess fails for PPC64LE for version prior to a 2013-06-10
build date (automake 1.13.4) and for ARM (aarch64)."""
if not self.patch_config_guess or (not self.spec.satisfies(
'target=ppc64le') and not self.spec.satisfies('target=aarch64')
if not self.patch_config_guess or (
not self.spec.satisfies('target=ppc64le:') and
not self.spec.satisfies('target=aarch64:')
):
return
my_config_guess = None