diff --git a/master/custom/factories.py b/master/custom/factories.py index 4232eff71..ead295727 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -750,7 +750,9 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs): # Now that we have a "build" architecture Python, we can use that # to build a "host" (also known as the target we are cross compiling) - configure_cmd = self.host_configure_cmd + ["--prefix", "$(PWD)/target/host"] + # Take a copy so that the class-level definition isn't tainted + configure_cmd = list(self.host_configure_cmd) + configure_cmd += ["--prefix", "$(PWD)/target/host"] configure_cmd += self.configureFlags + self.extra_configure_flags configure_cmd += [util.Interpolate("--build=%(prop:build_triple)s")] configure_cmd += [f"--host={self.host}"] @@ -1067,7 +1069,8 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs): # Now that we have a "build" architecture Python, we can use that # to build a "host" (also known as the target we are cross compiling) - configure_cmd = self.host_configure_cmd + # Take a copy so that the class-level definition isn't tainted + configure_cmd = list(self.host_configure_cmd) configure_cmd += self.configureFlags configure_cmd += self.extra_configure_flags configure_cmd += [