diff --git a/python/build/autotools.py b/python/build/autotools.py index bf5d94a58..23c382c78 100644 --- a/python/build/autotools.py +++ b/python/build/autotools.py @@ -58,11 +58,13 @@ class AutotoolsProject(MakeProject): 'ARFLAGS=' + toolchain.arflags, 'RANLIB=' + toolchain.ranlib, 'STRIP=' + toolchain.strip, - '--host=' + toolchain.host_triplet, '--prefix=' + toolchain.install_prefix, '--disable-silent-rules', ] + if toolchain.host_triplet is not None: + configure.append('--host=' + toolchain.host_triplet) + configure.extend(self.configure_args) try: