Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure a clean copy of configure arguments is used #484

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down Expand Up @@ -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 += [
Expand Down
Loading